forked from osmocom/wireshark
Move declaration of sttype_register_* functions from
syntax-tree.c to syntax-tree.h. This fixes some warning of type sttype-integer.c:33: warning: no previous declaration for 'sttype_register_integer' svn path=/trunk/; revision=15011
This commit is contained in:
parent
fc4a2ddfe0
commit
fd9291e9c6
|
@ -29,13 +29,6 @@
|
||||||
/* Keep track of sttype_t's via their sttype_id_t number */
|
/* Keep track of sttype_t's via their sttype_id_t number */
|
||||||
static sttype_t* type_list[STTYPE_NUM_TYPES];
|
static sttype_t* type_list[STTYPE_NUM_TYPES];
|
||||||
|
|
||||||
/* These are the sttype_t registration function prototypes. */
|
|
||||||
void sttype_register_integer(void);
|
|
||||||
void sttype_register_pointer(void);
|
|
||||||
void sttype_register_range(void);
|
|
||||||
void sttype_register_string(void);
|
|
||||||
void sttype_register_test(void);
|
|
||||||
|
|
||||||
|
|
||||||
#define STNODE_MAGIC 0xe9b00b9e
|
#define STNODE_MAGIC 0xe9b00b9e
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,13 @@ typedef struct {
|
||||||
gint32 value;
|
gint32 value;
|
||||||
} stnode_t;
|
} stnode_t;
|
||||||
|
|
||||||
|
/* These are the sttype_t registration function prototypes. */
|
||||||
|
void sttype_register_integer(void);
|
||||||
|
void sttype_register_pointer(void);
|
||||||
|
void sttype_register_range(void);
|
||||||
|
void sttype_register_string(void);
|
||||||
|
void sttype_register_test(void);
|
||||||
|
|
||||||
void
|
void
|
||||||
sttype_init(void);
|
sttype_init(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue