diff options
author | Elliott Hughes <enh@google.com> | 2014-07-17 14:26:33 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-07-17 14:26:33 -0700 |
commit | d7453860a6b06e7d4a960c20792ce6f0b6cc5f3a (patch) | |
tree | eb16bdf461a93257bf1f16a7e7eabb36f52a4e46 /libc/include/sys/prctl.h | |
parent | 43363ab7202a935e12cf6a38d32a48433bdc3705 (diff) | |
download | android_bionic-d7453860a6b06e7d4a960c20792ce6f0b6cc5f3a.tar.gz android_bionic-d7453860a6b06e7d4a960c20792ce6f0b6cc5f3a.tar.bz2 android_bionic-d7453860a6b06e7d4a960c20792ce6f0b6cc5f3a.zip |
Remove non-standard prctl constants from <sys/prctl.h>.
Also remove __bionic_name_mem which has exactly one caller, and is only
ever expected to be used in this one place.
Change-Id: I833744f91e887639f5b2d1269f966ee9032af207
Diffstat (limited to 'libc/include/sys/prctl.h')
-rw-r--r-- | libc/include/sys/prctl.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/include/sys/prctl.h b/libc/include/sys/prctl.h index 391c22a77..f66f6f544 100644 --- a/libc/include/sys/prctl.h +++ b/libc/include/sys/prctl.h @@ -38,18 +38,6 @@ #error PR_SET_TIMERSLACK_PID defined twice #endif -#if !defined(PR_SET_VMA) -#define PR_SET_VMA 0x53564d41 -#else -#error PR_SET_VMA defined twice -#endif - -#if !defined(PR_SET_VMA_ANON_NAME) -#define PR_SET_VMA_ANON_NAME 0 -#else -#error PR_SET_VMA_ANON_NAME defined twice -#endif - __BEGIN_DECLS /* IMPORTANT NOTE: This function is declared as taking a variable number @@ -63,4 +51,3 @@ extern int prctl(int option, ...); __END_DECLS #endif /* _SYS_PRCTL_H */ - |