]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
interfaces: fix incomplete declaration of interfaces_cleanup
authorVincent Bernat <vincent@bernat.im>
Mon, 17 Aug 2015 12:22:06 +0000 (14:22 +0200)
committerVincent Bernat <vincent@bernat.im>
Mon, 17 Aug 2015 12:22:06 +0000 (14:22 +0200)
For BSD and Solaris, the declaration was incomplete.

src/daemon/interfaces-bsd.c
src/daemon/interfaces-solaris.c

index 4084d53b8f67a74f7254701949457cdf1639a0c8..f1ce36f44736cd535d2ed7ab8c2220dab22a5a6d 100644 (file)
@@ -687,6 +687,6 @@ end:
 }
 
 void
-interfaces_cleanup(struct lldpd *)
+interfaces_cleanup(struct lldpd *cfg)
 {
 }
index f6f67639c3a4833b36213ce75fef3e0f14f421e5..cdb5d763487e1b3ac67ca5c49372afb011fc1552 100644 (file)
@@ -186,6 +186,6 @@ end:
 }
 
 void
-interfaces_cleanup(struct lldpd *)
+interfaces_cleanup(struct lldpd *cfg)
 {
 }