aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2016-01-13 18:28:29 -0800
committerDylan Reid <dgreid@google.com>2016-01-13 18:29:48 -0800
commitc4b0fdc4bf008115c9d7a2589de38ed007ca8138 (patch)
tree52229246905a1484ed0717786c773fc2c2820b53
parent272e3ab72da543c3ed3cb1cf312e45796b149d19 (diff)
downloadminijail-c4b0fdc4bf008115c9d7a2589de38ed007ca8138.tar.gz
Make is_android static
util.h gets included from more than one place on Chrome OS builds. Change-Id: I021235738115782fc2966d51fe356364953db169 Signed-off-by: Dylan Reid <dgreid@chromium.org>
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 069090f..0cc1d15 100644
--- a/util.h
+++ b/util.h
@@ -29,7 +29,7 @@
extern const char *log_syscalls[];
extern const size_t log_syscalls_len;
-inline int is_android() {
+static inline int is_android() {
#if defined(__ANDROID__)
return 1;
#else