aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-08-23 19:43:46 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-08-23 19:43:46 -0700
commit548b94db18508c01874ed1b18cf3bb0044f6b884 (patch)
tree451ecd5648175e6441e441683422e47c0151cc75 /usr
parent191d96c0ccf694f31a94fd35d6edbfc39536ef1d (diff)
downloadlinux-2.6-klibc-548b94db18508c01874ed1b18cf3bb0044f6b884.tar.gz
[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>
Diffstat (limited to 'usr')
-rw-r--r--usr/include/sys/prctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/include/sys/prctl.h b/usr/include/sys/prctl.h
index 71ba57ee311c8a..c12c191f71fda0 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 */