summaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-02-18 04:08:52 +0000
committerUlrich Drepper <drepper@redhat.com>1997-02-18 04:08:52 +0000
commit9652be3de8913e528f86d9d4d2643db6c472f9fe (patch)
treeafa08c329c7b3007487a47b78ed77c47f88d2a4d /posix
parent7434ccadbb6897d366d2377f84efe1e2cd61b02b (diff)
update from main archive 970217
Diffstat (limited to 'posix')
-rw-r--r--posix/regex.h12
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__ */
/*