diff options
author | bz <bz@FreeBSD.org> | 2016-01-22 15:03:22 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2016-01-22 15:03:22 +0000 |
commit | 241625018cd7606dfec8ccc4299cae1a11e398aa (patch) | |
tree | e6b527e585ec94b130b1fe3c1f4ea6b7d995dd72 /contrib/bsnmp/snmp_mibII | |
parent | 459ec4483368fa4ae7b3c953a5af16a0d1b09096 (diff) | |
download | FreeBSD-src-241625018cd7606dfec8ccc4299cae1a11e398aa.zip FreeBSD-src-241625018cd7606dfec8ccc4299cae1a11e398aa.tar.gz |
Change the variable to a #define in order to make gcc happy which
otherwise will complain about "variably modified 'alias' at file scope".
Unbreaks the build on gcc platforms.
Diffstat (limited to 'contrib/bsnmp/snmp_mibII')
-rw-r--r-- | contrib/bsnmp/snmp_mibII/mibII.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bsnmp/snmp_mibII/mibII.h b/contrib/bsnmp/snmp_mibII/mibII.h index d47bc0b..f7b230d 100644 --- a/contrib/bsnmp/snmp_mibII/mibII.h +++ b/contrib/bsnmp/snmp_mibII/mibII.h @@ -58,7 +58,7 @@ #include "mibII_tree.h" /* maximum size of the interface alias */ -static const u_int MIBIF_ALIAS_SIZE = 64 + 1; +#define MIBIF_ALIAS_SIZE (64 + 1) /* * Interface list and flags. |