reorder a couple of cases of void __inline to __inline void
to silence warnings from compilig with -W Submitted by: sandvine inc MFC after: 1 week
This commit is contained in:
parent
860259d8d5
commit
65c3a00587
@ -175,7 +175,7 @@ static __inline void _ng_hook_force_writer(hook_p hook, char * file,
|
||||
int line);
|
||||
static __inline void _ng_hook_force_queue(hook_p hook, char * file, int line);
|
||||
|
||||
static void __inline
|
||||
static __inline void
|
||||
_chkhook(hook_p hook, char *file, int line)
|
||||
{
|
||||
if (hook->hk_magic != HK_MAGIC) {
|
||||
@ -407,7 +407,7 @@ typedef int ng_fn_eachhook(hook_p hook, void* arg);
|
||||
|
||||
#ifdef NETGRAPH_DEBUG /*----------------------------------------------*/
|
||||
void dumpnode(node_p node, char *file, int line);
|
||||
static void __inline _chknode(node_p node, char *file, int line);
|
||||
static __inline void _chknode(node_p node, char *file, int line);
|
||||
static __inline char * _ng_node_name(node_p node, char *file, int line);
|
||||
static __inline int _ng_node_has_name(node_p node, char *file, int line);
|
||||
static __inline ng_ID_t _ng_node_id(node_p node, char *file, int line);
|
||||
@ -425,7 +425,7 @@ static __inline hook_p _ng_node_foreach_hook(node_p node,
|
||||
ng_fn_eachhook *fn, void *arg, char *file, int line);
|
||||
static __inline void _ng_node_revive(node_p node, char *file, int line);
|
||||
|
||||
static void __inline
|
||||
static __inline void
|
||||
_chknode(node_p node, char *file, int line)
|
||||
{
|
||||
if (node->nd_magic != ND_MAGIC) {
|
||||
|
Loading…
Reference in New Issue
Block a user