From 290e19f8147d9b3c0166d3520e718ae5603e4cef Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Nov 2012 06:17:03 -0500 Subject: drop support for pre ISO-C compilers This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger --- libc/stdlib/stdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdlib') diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index cab4f82cc..6c887eabc 100644 --- a/libc/stdlib/stdlib.c +++ b/libc/stdlib/stdlib.c @@ -251,7 +251,7 @@ long long atoll(const char *nptr) #endif /**********************************************************************/ #ifdef L_rpmatch -int rpmatch (__const char *__response) +int rpmatch (const char *__response) { return (__response[0] == 'y' || __response[0] == 'Y') ? 1 : (__response[0] == 'n' || __response[0] == 'N') ? 0 : -1; -- cgit v1.2.3