mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-23 11:39:50 +00:00
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
Block a user