summaryrefslogtreecommitdiff
path: root/misc/regexp.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
commitc1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch)
tree7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /misc/regexp.h
parenta4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff)
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'misc/regexp.h')
-rw-r--r--misc/regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/regexp.h b/misc/regexp.h
index fc60d3ca51..a8659aede6 100644
--- a/misc/regexp.h
+++ b/misc/regexp.h
@@ -206,14 +206,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 __P ((__const char *__restrict __string,
- __const char *__restrict __expbuf));
+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 __P ((__const char *__restrict __string,
- __const char *__restrict __expbuf));
+extern int advance (__const char *__restrict __string,
+ __const char *__restrict __expbuf) __THROW;
__END_DECLS