From 97f7b347cf7cd3f4d72523e1df99334ce9ed9e42 Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Fri, 27 May 2005 19:46:34 +0000 Subject: - keep gcc-4.x happy --- libc/sysdeps/linux/common/ssp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/ssp.c') diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c index e58dfdb9a..9db8338e7 100644 --- a/libc/sysdeps/linux/common/ssp.c +++ b/libc/sysdeps/linux/common/ssp.c @@ -20,6 +20,10 @@ # include #endif +#ifdef __SSP__ +#error ssp.c has to be built w/ -fno-stack-protector +#endif + #include #include #include @@ -42,7 +46,7 @@ #endif /* prototypes */ -extern int __libc_open (__const char *file, int oflag, mode_t mode); +extern int __libc_open (__const char *file, int oflag, ...); extern ssize_t __libc_read(int fd, void *buf, size_t count); extern int __libc_close (int fd); -- cgit v1.2.3