summaryrefslogtreecommitdiff
path: root/include/android/sharedmem.h
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2021-01-26 14:55:48 -0800
committer Elliott Hughes <enh@google.com> 2021-02-01 13:34:00 -0800
commit23e82b4798681581e3412b2b454ff86a76d078f8 (patch)
tree057f613c77333368db867e8e4ad5b5e051387ed4 /include/android/sharedmem.h
parent87eb2c419ef230366ccbdbe980c4f49b7a70f372 (diff)
Remove __ANDROID_API__ #if checks.
__INTRODUCED_IN() does the right thing automatically now. Bug: http://b/178449269 Test: treehugger Change-Id: I94d2ad6fafb6d907793a416db82a9e56f4f61d1c Merged-In: I94d2ad6fafb6d907793a416db82a9e56f4f61d1c
Diffstat (limited to 'include/android/sharedmem.h')
-rw-r--r--include/android/sharedmem.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/android/sharedmem.h b/include/android/sharedmem.h
index 5f74682b40..7994aa9914 100644
--- a/include/android/sharedmem.h
+++ b/include/android/sharedmem.h
@@ -50,8 +50,6 @@
extern "C" {
#endif
-#if __ANDROID_API__ >= 26
-
/**
* Create a shared memory region.
*
@@ -121,8 +119,6 @@ size_t ASharedMemory_getSize(int fd) __INTRODUCED_IN(26);
*/
int ASharedMemory_setProt(int fd, int prot) __INTRODUCED_IN(26);
-#endif // __ANDROID_API__ >= 26
-
#ifdef __cplusplus
};
#endif