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:
Bjoern A. Zeeb 2016-01-22 15:03:22 +00:00
parent afa04e4170
commit 54902c0a6a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294567

View File

@ -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.