about summary refs log tree commit diff
path: root/malloc
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 /malloc
parent7434ccadbb6897d366d2377f84efe1e2cd61b02b (diff)
downloadglibc-9652be3de8913e528f86d9d4d2643db6c472f9fe.tar.gz
glibc-9652be3de8913e528f86d9d4d2643db6c472f9fe.tar.xz
glibc-9652be3de8913e528f86d9d4d2643db6c472f9fe.zip
update from main archive 970217
Diffstat (limited to 'malloc')
-rw-r--r--malloc/obstack.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/malloc/obstack.h b/malloc/obstack.h
index 0e7eb09054..54c4d51457 100644
--- a/malloc/obstack.h
+++ b/malloc/obstack.h
@@ -106,6 +106,10 @@ Summary:
 
 #ifndef __OBSTACK_H__
 #define __OBSTACK_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* We use subtraction of (char *) 0 instead of casting to int
    because on word-addressable machines a simple cast to int
@@ -578,4 +582,8 @@ __extension__								\
 
 #endif /* not __GNUC__ or not __STDC__ */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* not __OBSTACK_H__ */