From ff026950e280bc3e9487b41b460fb31bc5b57721 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 30 Apr 2020 10:42:43 -0700 Subject: Add a C wrapper for prctl [BZ #25896] Add a C wrapper to pass arguments in /* Control process execution. */ extern int prctl (int __option, ...) __THROW; to prctl syscall: extern int prctl (int, unsigned long int, unsigned long int, unsigned long int, unsigned long int); --- include/sys/prctl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 0920ed642b..d33f3a290e 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -4,6 +4,7 @@ # ifndef _ISOMAC extern int __prctl (int __option, ...); +libc_hidden_proto (__prctl) # endif /* !_ISOMAC */ #endif -- cgit v1.2.3