]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Use "void" instead of empty parameter list for function prototypes.
authorVincent Bernat <bernat@luffy.cx>
Thu, 24 Sep 2009 08:27:15 +0000 (10:27 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 29 Sep 2009 14:44:58 +0000 (16:44 +0200)
commit6f1046d1b9ee6dd4f85564ddbaf2fb79d2d930e7
tree4805dbcbcc0ffee3b0d29369f258696abd6f5942
parent8e544ee42e4e394073795322c88b0e8e73b18ba2
Use "void" instead of empty parameter list for function prototypes.

Using empty parameter list means that we don't know what are the
parameters of a function, while using "void" means that there is no
parameter for this function. Some compilers are ticky about this. See
C99 6.11.6 and 6.7.5.3 ยง14.

This also allows to fix a little bug: priv_ctl_create was called with
a parameter.
src/lldpd.c
src/lldpd.h