24 lines
406 B
Diff
24 lines
406 B
Diff
|
--- prctl.c
|
||
|
+++ prctl.c
|
||
|
@@ -55,12 +55,12 @@
|
||
|
/* Verbose mode */
|
||
|
int verbose=0;
|
||
|
|
||
|
-print_version(char *progname)
|
||
|
+void print_version(char *progname)
|
||
|
{
|
||
|
printf("%s version %s\n", progname, VERSION);
|
||
|
}
|
||
|
|
||
|
-usage(char *progname)
|
||
|
+void usage(char *progname)
|
||
|
{
|
||
|
print_version(progname);
|
||
|
printf("Usage: %s [-v] [-h|--help] [--version]\n", progname);
|
||
|
@@ -355,4 +355,5 @@
|
||
|
exit(1);
|
||
|
}
|
||
|
}
|
||
|
+ abort();
|
||
|
}
|