X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=regex.h;h=55927f627c959118914a93d6a70731266b2579a7;hb=535ad0d12391ae61b91cb173f9b980ac1e2699b6;hp=40f684cb8e554c4358634947f83eb9451e991980;hpb=93113fa37757115b84dd7e8d63ffbcd495e2b749;p=gnulib.git diff --git a/regex.h b/regex.h index 40f684cb8..55927f627 100644 --- a/regex.h +++ b/regex.h @@ -460,9 +460,11 @@ 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)); +#ifdef _REGEX_RE_COMP /* 4.2 bsd compatibility. */ extern char *re_comp _RE_ARGS ((const char *)); extern int re_exec _RE_ARGS ((const char *)); +#endif /* POSIX compatibility. */ extern int regcomp _RE_ARGS ((regex_t *preg, const char *pattern, int cflags));