From 18e743daed3250de016cf880fab1da54ab939362 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Apr 2015 10:40:26 +0200 Subject: [PATCH] xbps-fbulk: declare usage() with __attribute__((noreturn)) to fix clang. --- bin/xbps-fbulk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-fbulk/main.c b/bin/xbps-fbulk/main.c index 628766a6..971ae09b 100644 --- a/bin/xbps-fbulk/main.c +++ b/bin/xbps-fbulk/main.c @@ -144,7 +144,7 @@ addItem(const char *pkgn) return item; } -static void +static void __attribute__((noreturn)) usage(const char *progname) { fprintf(stderr, "%s [-j parallel] [-l logdir] /path/to/void-packages\n", progname);