xbps-fbulk: declare usage() with __attribute__((noreturn)) to fix clang.

This commit is contained in:
Juan RP 2015-04-16 10:40:26 +02:00
parent 9199867df1
commit 18e743daed

View File

@ -144,7 +144,7 @@ addItem(const char *pkgn)
return item; return item;
} }
static void static void __attribute__((noreturn))
usage(const char *progname) usage(const char *progname)
{ {
fprintf(stderr, "%s [-j parallel] [-l logdir] /path/to/void-packages\n", progname); fprintf(stderr, "%s [-j parallel] [-l logdir] /path/to/void-packages\n", progname);