summaryrefslogtreecommitdiffstats
path: root/ldpd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-08-31 23:16:57 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-09-02 13:00:35 +0200
commit9fb83ab17d5135dad229841f43651a1aa3cd6578 (patch)
tree87ce17f7551687dff0cf6a2df633a1f8dbb49d7a /ldpd
parentpceplib: fix for -Wstrict-prototypes (diff)
downloadfrr-9fb83ab17d5135dad229841f43651a1aa3cd6578.tar.xz
frr-9fb83ab17d5135dad229841f43651a1aa3cd6578.zip
*: fix for -Wstrict-prototypes
Just some "void" missing between empty braces. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/ldp_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldp_snmp.c b/ldpd/ldp_snmp.c
index 3932df48e..dfc7d145f 100644
--- a/ldpd/ldp_snmp.c
+++ b/ldpd/ldp_snmp.c
@@ -1166,7 +1166,7 @@ ldpTrapSessionDown(struct nbr * nbr)
ldpTrapSession(nbr, LDPSESSIONDOWN);
}
-static int ldp_snmp_agentx_enabled()
+static int ldp_snmp_agentx_enabled(void)
{
main_imsg_compose_both(IMSG_AGENTX_ENABLED, NULL, 0);