OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.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
68eb00c
..
31d43df
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