diff options
author | Anders Magnusson <ragge@cvs.openbsd.org> | 2008-06-29 16:00:23 +0000 |
---|---|---|
committer | Anders Magnusson <ragge@cvs.openbsd.org> | 2008-06-29 16:00:23 +0000 |
commit | 68461517be04b10ac6eab25f46414da2e8824793 (patch) | |
tree | fad3b2b84b6198ba7fe3a5f45c325fe751047227 /usr.sbin/snmpd/snmpd.h | |
parent | fa74a75ce9a341df0ab678cbf29ca23900908cf3 (diff) |
Use C99, not gcc-specific variadics. Ok miod@.
Diffstat (limited to 'usr.sbin/snmpd/snmpd.h')
-rw-r--r-- | usr.sbin/snmpd/snmpd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/snmpd/snmpd.h b/usr.sbin/snmpd/snmpd.h index 1567b57205b..3a0fe23babe 100644 --- a/usr.sbin/snmpd/snmpd.h +++ b/usr.sbin/snmpd/snmpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.h,v 1.18 2008/02/07 11:33:26 reyk Exp $ */ +/* $OpenBSD: snmpd.h,v 1.19 2008/06/29 16:00:22 ragge Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net> @@ -234,9 +234,9 @@ struct oid { (((_oid)->o_flags & OID_IFSET) && \ ((_oid)->o_data == NULL) && ((_oid)->o_val == 0)) -#define OID(_mib...) { { _mib } } -#define MIBDECL(_mib...) { { MIB_##_mib } }, #_mib -#define MIB(_mib...) { { MIB_##_mib } }, NULL +#define OID(...) { { __VA_ARGS__ } } +#define MIBDECL(...) { { MIB_##__VA_ARGS__ } }, #__VA_ARGS__ +#define MIB(...) { { MIB_##__VA_ARGS__ } }, NULL #define MIBEND { { 0 } }, NULL /* |