diff options
author | Elliott Hughes <enh@google.com> | 2024-04-09 23:49:07 +0000 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2024-04-09 23:49:07 +0000 |
commit | 7f743b2491f68cce32abf0e74bf9a861c4c90656 (patch) | |
tree | e06a318cf2ab636c473f8fbc93509b3d8219bbf8 | |
parent | ada535d29eb7733157114c70842900cdff0dd84f (diff) | |
download | ltp-7f743b2491f68cce32abf0e74bf9a861c4c90656.tar.gz |
bionic-compat.h: more cleanup.
One macro that wasn't provided by bionic now is, and another macro
no longer assumes a 4KiB page size in bionic and so doesn't need to
be redefined here.
Also remove an unnecessary #include.
Change-Id: If47eaa94c52d34cdb068042aecc8fccd6ef5e94b
-rw-r--r-- | android/include/bionic-compat.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/android/include/bionic-compat.h b/android/include/bionic-compat.h index 3379b7f53..01b3279e9 100644 --- a/android/include/bionic-compat.h +++ b/android/include/bionic-compat.h @@ -7,7 +7,6 @@ #define _GNU_SOURCE #include <limits.h> -#include <linux/icmp.h> #include <stddef.h> #include <stdlib.h> #include <string.h> @@ -20,12 +19,8 @@ #define __GLIBC_PREREQ(a, b) 1 -// TODO: remove after https://android-review.git.corp.google.com/c/platform/bionic/+/3034234 -#define NGROUPS NGROUPS_MAX // TODO: remove after https://android-review.git.corp.google.com/c/platform/bionic/+/3034152 #define LINE_MAX _POSIX2_LINE_MAX -// TODO: remove after https://android-review.git.corp.google.com/c/platform/bionic/+/3034233 -#define SHMLBA sysconf(_SC_PAGESIZE) #define _UTSNAME_DOMAIN_LENGTH SYS_NMLN #define _UTSNAME_LENGTH SYS_NMLN |