diff options
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,8 +8,8 @@ struct cfg; #include "utils.h" +extern struct cfg *cfg; extern bool exiting; - extern unsigned debug_mask; enum debug_lvl { @@ -103,8 +103,8 @@ do { \ struct uring_task; /* To save typing in all the function definitions below */ -typedef void (*utask_cb_t)(struct cfg *, struct uring_task *, int res); -typedef int (*rutask_cb_t)(struct cfg *, struct uring_task *, int res); +typedef void (*utask_cb_t)(struct uring_task *, int res); +typedef int (*rutask_cb_t)(struct uring_task *, int res); struct uring_task_buf { char buf[4096]; |