summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-30 23:02:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-30 23:02:27 +0000
commitd4bfde8b5f70afa6a51011611abc40d393e59385 (patch)
tree69a51bfe47327b88391e130bdf3be3243c2b70c8 /include
parent97b3ceebfa6f572379b3c70fccd22efbc1fb59bc (diff)
add M_PERTURB define from glibc and Frank Mehnert writes: the following patch fixes a compile problem where malloc.h was included into a C++ file
Diffstat (limited to 'include')
-rw-r--r--include/malloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 610c47dc3..6b8e1ad91 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -174,6 +174,7 @@ extern void malloc_stats(FILE *file);
#define M_MMAP_THRESHOLD -3
#define M_MMAP_MAX -4
#define M_CHECK_ACTION -5
+#define M_PERTURB -6
/* General SVID/XPG interface to tunable parameters. */
extern int mallopt __MALLOC_P ((int __param, int __val));
@@ -182,7 +183,7 @@ extern int mallopt __MALLOC_P ((int __param, int __val));
#ifdef __cplusplus
-}; /* end of extern "C" */
+} /* end of extern "C" */
#endif
#endif /* malloc.h */