projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a0aa82
)
sys/personality.h: add missing C++ compat
author
rofl0r
<retnyg@gmx.net>
Thu, 8 Aug 2013 18:54:32 +0000
(20:54 +0200)
committer
rofl0r
<retnyg@gmx.net>
Thu, 8 Aug 2013 18:57:35 +0000
(20:57 +0200)
include/sys/personality.h
patch
|
blob
|
history
diff --git
a/include/sys/personality.h
b/include/sys/personality.h
index 68eb00caa786f9fb2b348b18d165bd3d9e6e8200..31d43dfe13ea428a97709470832e06d5c10dacf1 100644
(file)
--- a/
include/sys/personality.h
+++ b/
include/sys/personality.h
@@
-1,6
+1,10
@@
#ifndef _PERSONALITY_H
#define _PERSONALITY_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define ADDR_NO_RANDOMIZE 0x0040000
#define MMAP_PAGE_ZERO 0x0100000
#define ADDR_COMPAT_LAYOUT 0x0200000
@@
-36,4
+40,7
@@
int personality(unsigned long);
+#ifdef __cplusplus
+}
+#endif
#endif