commit | 1e10b661cc5cc58e76540e271e463e94f53c0db8 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri May 02 20:05:46 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri May 02 20:05:46 2014 +0000 |
tree | 2bc5a54f027ac48f1d4619c951f5c52761e4c2ec | |
parent | a32e01d2f4292974c55d612819ef028d95dcf831 [diff] | |
parent | edc70938beecf7390f5f9b0dee4f6c31a68e1f0a [diff] |
Merge "libcutils: Mac build pulls in __unused from sys/cdefs.h"
diff --git a/libcutils/ashmem-host.c b/libcutils/ashmem-host.c index cfb5d66..7873964 100644 --- a/libcutils/ashmem-host.c +++ b/libcutils/ashmem-host.c
@@ -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) {