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 --- include/regexp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/regexp.h') diff --git a/include/regexp.h b/include/regexp.h index 22894f2c8..17879aed1 100644 --- a/include/regexp.h +++ b/include/regexp.h @@ -102,7 +102,7 @@ extern char *locs; on the macros. */ char * compile (char *__restrict instring, char *__restrict expbuf, - __const char *__restrict endbuf, int eof) + const char *__restrict endbuf, int eof) { char *__input_buffer = NULL; size_t __input_size = 0; @@ -215,14 +215,14 @@ compile (char *__restrict instring, char *__restrict expbuf, found in the buffer starting at EXPBUF. `loc1' will return the first character matched and `loc2' points to the next unmatched character. */ -extern int step (__const char *__restrict __string, - __const char *__restrict __expbuf) __THROW; +extern int step (const char *__restrict __string, + const char *__restrict __expbuf) __THROW; /* Match the beginning of STRING with the compiled regular expression in EXPBUF. If the match is successful `loc2' will contain the position of the first unmatched character. */ -extern int advance (__const char *__restrict __string, - __const char *__restrict __expbuf) __THROW; +extern int advance (const char *__restrict __string, + const char *__restrict __expbuf) __THROW; #endif -- cgit v1.2.3