diff options
author | antoine <antoine@FreeBSD.org> | 2010-03-27 13:43:18 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2010-03-27 13:43:18 +0000 |
commit | 157223c60477f353f12654331aa1308372f794e7 (patch) | |
tree | bd3123b421dec04febb464937390763134271509 /contrib/bsnmp/snmpd | |
parent | 28e4fb3b8eecda12e4029af4c17969a7f0225097 (diff) | |
download | FreeBSD-src-157223c60477f353f12654331aa1308372f794e7.zip FreeBSD-src-157223c60477f353f12654331aa1308372f794e7.tar.gz |
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
Approved by: harti@
Diffstat (limited to 'contrib/bsnmp/snmpd')
-rw-r--r-- | contrib/bsnmp/snmpd/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bsnmp/snmpd/config.c b/contrib/bsnmp/snmpd/config.c index 6480d20..48044ec 100644 --- a/contrib/bsnmp/snmpd/config.c +++ b/contrib/bsnmp/snmpd/config.c @@ -134,7 +134,7 @@ struct macro { LIST_ENTRY(macro) link; int perm; }; -static LIST_HEAD(, macro) macros = LIST_HEAD_INITIALIZER(¯os); +static LIST_HEAD(, macro) macros = LIST_HEAD_INITIALIZER(macros); enum { TOK_EOF = 0200, |