While at it, make usage() static and mark its argument as const. Signed-off-by: Nicolas Iooss <nicolas.iooss@xxxxxxx> --- secilc/secil2conf.c | 2 +- secilc/secilc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/secilc/secil2conf.c b/secilc/secil2conf.c index ff564f08ab8a..5d8fe870394d 100644 --- a/secilc/secil2conf.c +++ b/secilc/secil2conf.c @@ -41,7 +41,7 @@ #endif #include <sepol/policydb.h> -void usage(char *prog) +static __attribute__((__noreturn__)) void usage(const char *prog) { printf("Usage: %s [OPTION]... FILE...\n", prog); printf("\n"); diff --git a/secilc/secilc.c b/secilc/secilc.c index dad1e904eb61..f4ecbeec73fb 100644 --- a/secilc/secilc.c +++ b/secilc/secilc.c @@ -41,7 +41,7 @@ #endif #include <sepol/policydb.h> -void usage(char *prog) +static __attribute__((__noreturn__)) void usage(const char *prog) { printf("Usage: %s [OPTION]... FILE...\n", prog); printf("\n"); -- 2.11.1 _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.