about summary refs log tree commit diff
path: root/include/android-ashmem.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-11-11 23:50:31 +0100
committervan Hauser <vh@thc.org>2019-11-11 23:50:31 +0100
commit760d4991f331c1a6719ce82df9b612e94c9a387c (patch)
tree5a4817dd720ae791927a3305131196ef63cca0e4 /include/android-ashmem.h
parent613ab3ba2a9dcf70839e69ab2c4b32fc4b4a8a7f (diff)
downloadafl++-760d4991f331c1a6719ce82df9b612e94c9a387c.tar.gz
Android PR integration
Diffstat (limited to 'include/android-ashmem.h')
-rw-r--r--include/android-ashmem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/android-ashmem.h b/include/android-ashmem.h
index f4d31739..984df4d4 100644
--- a/include/android-ashmem.h
+++ b/include/android-ashmem.h
@@ -63,7 +63,7 @@ static inline int shmctl(int __shmid, int __cmd, struct shmid_ds *__buf) {
 }
 
 static inline int shmget(key_t __key, size_t __size, int __shmflg) {
-
+  (void) __shmflg;
   int  fd, ret;
   char ourkey[11];
 
@@ -86,7 +86,7 @@ error:
 }
 
 static inline void *shmat(int __shmid, const void *__shmaddr, int __shmflg) {
-
+  (void) __shmflg;
   int   size;
   void *ptr;