forked from pool/prctl
Petr Gajdos
1ac91398c0
* Improved messages and suppressed unnecessary error messages * Added support for PR_MCE_KILL OBS-URL: https://build.opensuse.org/package/show/utilities/prctl?expand=0&rev=3
20 lines
510 B
Diff
20 lines
510 B
Diff
Index: prctl.c
|
|
===================================================================
|
|
--- prctl.c.orig 2006-05-25 00:06:24.000000000 +0200
|
|
+++ prctl.c 2010-11-19 10:03:03.821629772 +0100
|
|
@@ -48,12 +48,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);
|