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.
This commit is contained in:
parent
afa04e4170
commit
54902c0a6a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294567
@ -58,7 +58,7 @@
|
|||||||
#include "mibII_tree.h"
|
#include "mibII_tree.h"
|
||||||
|
|
||||||
/* maximum size of the interface alias */
|
/* 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.
|
* Interface list and flags.
|
||||||
|
Loading…
Reference in New Issue
Block a user