Files
gentoo/sys-apps/prctl/files/prctl-1.6-no-implicits.patch
Sergei Trofimovich 632211107c sys-apps/prctl: use only <sys/prctl.h>, bug #716298
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>
2020-04-06 22:14:22 +01:00

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