summaryrefslogtreecommitdiff
path: root/misc/regexp.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
commita784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch)
tree5ebaa084119dcffe41671a62e2e799b172c57d24 /misc/regexp.h
parent33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff)
downloadglibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'misc/regexp.h')
-rw-r--r--misc/regexp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/regexp.h b/misc/regexp.h
index 0e979d2d87..5c7a161dbc 100644
--- a/misc/regexp.h
+++ b/misc/regexp.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999, 2004, 2008
+/* Copyright (C) 1996, 1997, 1998, 1999, 2004, 2008, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -101,7 +101,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;
@@ -213,14 +213,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;
__END_DECLS