[klibc] Add __extern to prototype
Add __extern to prototype for prctl(), for architectures that need it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
diff --git a/usr/include/sys/prctl.h b/usr/include/sys/prctl.h
index 71ba57e..c12c191 100644
--- a/usr/include/sys/prctl.h
+++ b/usr/include/sys/prctl.h
@@ -1,9 +1,10 @@
#ifndef _SYS_PRCTL_H
#define _SYS_PRCTL_H
+#include <klibc/extern.h>
#include <linux/prctl.h>
/* glibc has this as a varadic function, so join the club... */
-int prctl(int, ...);
+__extern int prctl(int, ...);
#endif /* _SYS_PRCTL_H */