Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edc70938 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

libcutils: Mac build pulls in __unused from sys/cdefs.h

Change-Id: I2da8a52e07cef0b749f7e60709536e98bd96660e
parent a32e01d2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,7 +32,9 @@

#include <cutils/ashmem.h>

#ifndef __unused
#define __unused __attribute__((__unused__))
#endif

int ashmem_create_region(const char *ignored __unused, size_t size)
{