forked from osmocom/wireshark
Make VALUE_STRING_EXT_INIT use G_N_ELEMENTS macro instead of array_length.
array_length() requires including packet.h svn path=/trunk/; revision=53851
This commit is contained in:
parent
6e928c41d9
commit
4af107edfe
|
@ -171,7 +171,7 @@ typedef struct _value_string_ext {
|
|||
WS_DLL_PUBLIC
|
||||
const value_string*
|
||||
_try_val_to_str_ext_init(const guint32 val, const value_string_ext *vse);
|
||||
#define VALUE_STRING_EXT_INIT(x) { _try_val_to_str_ext_init, 0, array_length(x)-1, x, #x }
|
||||
#define VALUE_STRING_EXT_INIT(x) { _try_val_to_str_ext_init, 0, G_N_ELEMENTS(x)-1, x, #x }
|
||||
|
||||
WS_DLL_PUBLIC
|
||||
const value_string_ext *
|
||||
|
|
Loading…
Reference in New Issue