From: Ulrich Drepper Date: Sun, 21 Dec 1997 21:14:45 +0000 (+0000) Subject: (compile): Use parameter names without __. X-Git-Tag: cvs/glibc-2_0_6pre5~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b627ca39d48d228bf168033919c87a7ca039939;p=thirdparty%2Fglibc.git (compile): Use parameter names without __. --- diff --git a/misc/regexp.h b/misc/regexp.h index 04da70a5346..dc61c8dc702 100644 --- a/misc/regexp.h +++ b/misc/regexp.h @@ -97,7 +97,7 @@ extern char *locs; This function cannot be defined in the libc itself since it depends on the macros. */ char * -compile (char *__instring, char *__expbuf, __const char *__endbuf, int __eof) +compile (char *instring, char *expbuf, __const char *endbuf, int eof) { char *__input_buffer = NULL; size_t __input_size = 0; @@ -117,19 +117,19 @@ compile (char *__instring, char *__expbuf, __const char *__endbuf, int __eof) this really proofs to be wrong. */ const size_t __req = 8; #endif - __expbuf += __req; - __expbuf -= (__expbuf - ((char *) 0)) % __req; - if (__endbuf < __expbuf + sizeof (regex_t)) + expbuf += __req; + expbuf -= (expbuf - ((char *) 0)) % __req; + if (endbuf < expbuf + sizeof (regex_t)) { ERROR (50); } - __expr_ptr = (regex_t *) __expbuf; + __expr_ptr = (regex_t *) expbuf; /* The remaining space in the buffer can be used for the compiled pattern. */ - __expr_ptr->buffer = __expbuf + sizeof (regex_t); - __expr_ptr->allocated = __endbuf - (char *) __expr_ptr->buffer; + __expr_ptr->buffer = expbuf + sizeof (regex_t); + __expr_ptr->allocated = endbuf - (char *) __expr_ptr->buffer; - while ((__ch = (GETC ())) != __eof) + while ((__ch = (GETC ())) != eof) { if (__ch == '\0' || __ch == 'n') {