Made enterprise_oid pointer const.
svn path=/trunk/; revision=30877
This commit is contained in:
parent
169547006b
commit
00d20e0384
|
@ -155,7 +155,7 @@ typedef struct _snmp_st_assoc_t {
|
|||
} snmp_st_assoc_t;
|
||||
static guint num_specific_traps = 0;
|
||||
static snmp_st_assoc_t *specific_traps = NULL;
|
||||
static char *enterprise_oid = NULL;
|
||||
static const char *enterprise_oid = NULL;
|
||||
static guint generic_trap = 0;
|
||||
|
||||
|
||||
|
|
|
@ -163,7 +163,7 @@ typedef struct _snmp_st_assoc_t {
|
|||
} snmp_st_assoc_t;
|
||||
static guint num_specific_traps = 0;
|
||||
static snmp_st_assoc_t *specific_traps = NULL;
|
||||
static char *enterprise_oid = NULL;
|
||||
static const char *enterprise_oid = NULL;
|
||||
static guint generic_trap = 0;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue