SHA256
1
0
forked from pool/prctl
prctl/prctl-1.5-warnings.patch
Petr Gajdos 1ac91398c0 - updated to 1.6:
* 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
2014-04-29 08:55:35 +00:00

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);