diff options
Diffstat (limited to 'posix/regex.h')
-rw-r--r-- | posix/regex.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/posix/regex.h b/posix/regex.h index 565d24e09d..254a17687e 100644 --- a/posix/regex.h +++ b/posix/regex.h @@ -1,6 +1,6 @@ /* Definitions for data structures and routines for the regular expression library, version 0.12. - Copyright (C) 1985,89,90,91,92,93,95,96 Free Software Foundation, Inc. + Copyright (C) 1985,89,90,91,92,93,95,96,97 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in /gd/gnu/lib. @@ -23,6 +23,11 @@ #ifndef __REGEXP_LIBRARY_H__ #define __REGEXP_LIBRARY_H__ + +#ifdef __cplusplus +extern "C" { +#endif + /* POSIX says that <sys/types.h> must be included (by the caller) before <regex.h>. */ @@ -487,6 +492,11 @@ extern size_t regerror size_t errbuf_size)); extern void regfree _RE_ARGS ((regex_t *preg)); + +#ifdef __cplusplus +} +#endif + #endif /* not __REGEXP_LIBRARY_H__ */ /* |