mcstrans: add noreturn attribute to usage()
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
840a7c9180
commit
2f8926f755
|
@ -7,7 +7,7 @@
|
|||
#include <selinux/selinux.h>
|
||||
#include "mcstrans.h"
|
||||
|
||||
void usage(const char *progname)
|
||||
static __attribute__((__noreturn__)) void usage(const char *progname)
|
||||
{
|
||||
fprintf(stderr, "usage: %s context\n", progname);
|
||||
exit(1);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <selinux/selinux.h>
|
||||
#include "mcstrans.h"
|
||||
|
||||
void usage(const char *progname)
|
||||
static __attribute__((__noreturn__)) void usage(const char *progname)
|
||||
{
|
||||
fprintf(stderr, "usage: %s context\n", progname);
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue