OSDN Git Service

- added externs to keep gcc quiet about implicit declaration of 3 functions
authorNed Ludd <solar@gentoo.org>
Sat, 12 Mar 2005 19:13:41 +0000 (19:13 -0000)
committerNed Ludd <solar@gentoo.org>
Sat, 12 Mar 2005 19:13:41 +0000 (19:13 -0000)
libc/sysdeps/linux/common/ssp.c

index 004a42b..ecfc67e 100644 (file)
 #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));