diff options
Diffstat (limited to 'lib/workqueue.h')
-rw-r--r-- | lib/workqueue.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h index 369cd871..46f27734 100644 --- a/lib/workqueue.h +++ b/lib/workqueue.h @@ -24,12 +24,10 @@ #ifndef _QUAGGA_WORK_QUEUE_H #define _QUAGGA_WORK_QUEUE_H -#ifndef Inline -#define Inline static inline -#endif +#include "misc.h" /* Hold time for the initial schedule of a queue run, in millisec */ -enum { WORK_QUEUE_DEFAULT_HOLD = 50 } ; +enum { WORK_QUEUE_DEFAULT_HOLD = 50 } ; /* action value, for use by item processor and item error handlers */ typedef enum @@ -163,7 +161,7 @@ extern void work_queue_unplug (struct work_queue *wq); /* Helpers, exported for thread.c and command.c */ extern int work_queue_run (struct thread *); -extern struct cmd_element show_work_queues_cmd; +extern struct cmd_command show_work_queues_cmd; /*============================================================================== * The Inline functions |