summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ssp.c
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-03-12 19:13:41 +0000
committerNed Ludd <solar@gentoo.org>2005-03-12 19:13:41 +0000
commitbed3e178c5a3dc939aa0b71dcdd5262e48309ac2 (patch)
treefe48568bcbec70e5986cf2aea6cfb92a768ce968 /libc/sysdeps/linux/common/ssp.c
parent7df4fc5e7f40403d934ba40b6fe91a42d06578f2 (diff)
- added externs to keep gcc quiet about implicit declaration of 3 functions
Diffstat (limited to 'libc/sysdeps/linux/common/ssp.c')
-rw-r--r--libc/sysdeps/linux/common/ssp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c
index 004a42b28..ecfc67e5e 100644
--- a/libc/sysdeps/linux/common/ssp.c
+++ b/libc/sysdeps/linux/common/ssp.c
@@ -41,6 +41,11 @@
#define SSP_SIGTYPE SIGABRT
#endif
+/* prototypes */
+extern int __libc_open (__const char *file, int oflag, mode_t mode);
+extern ssize_t __libc_read(int fd, void *buf, size_t count);
+extern int __libc_close (int fd);
+
unsigned long __guard = 0UL;
void __guard_setup(void) __attribute__ ((constructor));