projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b32667a
)
Declare re_comp, re_exec if compiling for libc to get prototypes.
author
drepper
<drepper>
Tue, 8 Dec 1998 16:10:42 +0000
(16:10 +0000)
committer
drepper
<drepper>
Tue, 8 Dec 1998 16:10:42 +0000
(16:10 +0000)
posix/regex.h
patch
|
blob
|
history
diff --git
a/posix/regex.h
b/posix/regex.h
index
3fa93e5
..
d88ab92
100644
(file)
--- a/
posix/regex.h
+++ b/
posix/regex.h
@@
-505,7
+505,7
@@
extern void re_set_registers
_RE_ARGS ((struct re_pattern_buffer *buffer, struct re_registers *regs,
unsigned num_regs, regoff_t *starts, regoff_t *ends));
-#if
def _REGEX_RE_COMP
+#if
defined _REGEX_RE_COMP || defined _LIBC
# ifndef _CRAY
/* 4.2 bsd compatibility. */
extern char *re_comp _RE_ARGS ((const char *));