Commit f6e8b62e authored by Niels Möller's avatar Niels Möller
Browse files

(DEFINE_CALLBACK): Declare self argument as UNUSED.

Rev: src/client.c:1.128
parent 724ceed8
......@@ -758,7 +758,7 @@ fork_output(int out)
static void do_##name(struct lsh_callback *self); \
static struct lsh_callback \
name = { STATIC_HEADER, do_##name }; \
static void do_##name(struct lsh_callback *self)
static void do_##name(struct lsh_callback *self UNUSED)
/* A callback that exits the process immediately. */
DEFINE_CALLBACK(exit_callback)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment