mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/716298 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
18 lines
381 B
Diff
18 lines
381 B
Diff
--- a/prctl.c
|
|
+++ b/prctl.c
|
|
@@ -27,3 +27,3 @@
|
|
#include <pwd.h>
|
|
-#include <linux/prctl.h>
|
|
+#include <sys/prctl.h> /* prctl constants, prctl() proto */
|
|
#include <string.h>
|
|
@@ -50,3 +51,3 @@ int verbose=0;
|
|
|
|
-print_version(char *progname)
|
|
+void print_version(char *progname)
|
|
{
|
|
@@ -55,3 +56,3 @@ print_version(char *progname)
|
|
|
|
-usage(char *progname)
|
|
+void usage(char *progname)
|
|
{
|