about summary refs log tree commit diff
path: root/include/android-ashmem.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-10 12:09:37 +0200
committervan Hauser <vh@thc.org>2020-05-10 12:09:37 +0200
commit30bfd44dfd9f442d5514a7100d76d1fd3d9deb74 (patch)
tree86d3b0b14103fd2bbc01f25c40e7d55694a4701b /include/android-ashmem.h
parent26f8708fede1b15e6a93709d0baa2e5f481e082d (diff)
downloadafl++-30bfd44dfd9f442d5514a7100d76d1fd3d9deb74.tar.gz
indenting preprocessor directives breaks compilation and cant be fixed, reverting ... :-(
Diffstat (limited to 'include/android-ashmem.h')
-rw-r--r--include/android-ashmem.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/include/android-ashmem.h b/include/android-ashmem.h
index 9502f2fb..77914c35 100644
--- a/include/android-ashmem.h
+++ b/include/android-ashmem.h
@@ -28,27 +28,27 @@
 
 #ifdef __ANDROID__
 
-#  include <fcntl.h>
-#  include <linux/shm.h>
-#  include <linux/ashmem.h>
-#  include <sys/ioctl.h>
-#  include <sys/mman.h>
-
-#  if __ANDROID_API__ >= 26
-#    define shmat bionic_shmat
-#    define shmctl bionic_shmctl
-#    define shmdt bionic_shmdt
-#    define shmget bionic_shmget
-#  endif
-
-#  include <sys/shm.h>
-#  undef shmat
-#  undef shmctl
-#  undef shmdt
-#  undef shmget
-#  include <stdio.h>
-
-#  define ASHMEM_DEVICE "/dev/ashmem"
+#include <fcntl.h>
+#include <linux/shm.h>
+#include <linux/ashmem.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+
+#if __ANDROID_API__ >= 26
+#define shmat bionic_shmat
+#define shmctl bionic_shmctl
+#define shmdt bionic_shmdt
+#define shmget bionic_shmget
+#endif
+
+#include <sys/shm.h>
+#undef shmat
+#undef shmctl
+#undef shmdt
+#undef shmget
+#include <stdio.h>
+
+#define ASHMEM_DEVICE "/dev/ashmem"
 
 static inline int shmctl(int __shmid, int __cmd, struct shmid_ds *__buf) {