From c4dbaf19e2fef30333948c52273d62334c817119 Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Tue, 15 May 2012 18:00:51 -0600 Subject: Add config.h header guards Signed-off-by: Michael Steinert --- tools/declare_queue.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/declare_queue.c') diff --git a/tools/declare_queue.c b/tools/declare_queue.c index d6bb9db..5c6a2bd 100644 --- a/tools/declare_queue.c +++ b/tools/declare_queue.c @@ -30,7 +30,9 @@ * ***** END LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include #include -- cgit v1.2.1 From 162fc19f4d896c3db862f1da303823dcbe9780ec Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Wed, 16 May 2012 10:42:44 -0600 Subject: Fix compiler warnings (checked clang & gcc) Signed-off-by: Michael Steinert --- tools/declare_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/declare_queue.c') diff --git a/tools/declare_queue.c b/tools/declare_queue.c index 5c6a2bd..fc9524c 100644 --- a/tools/declare_queue.c +++ b/tools/declare_queue.c @@ -54,7 +54,7 @@ int main(int argc, const char **argv) {"durable", 'd', POPT_ARG_VAL, &durable, 1, "declare a durable queue", NULL}, POPT_AUTOHELP - { NULL, 0, 0, NULL, 0 } + { NULL, '\0', 0, NULL, 0, NULL, NULL } }; process_all_options(argc, argv, options); -- cgit v1.2.1