2010-11-20 12:33:49 +01:00
|
|
|
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 @@
|
2007-01-16 00:33:22 +01:00
|
|
|
/* 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);
|
2010-11-20 12:33:49 +01:00
|
|
|
@@ -374,4 +374,5 @@
|
2007-01-16 00:33:22 +01:00
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+ abort();
|
|
|
|
}
|