diff options
author | Dylan Reid <dgreid@chromium.org> | 2016-01-13 18:28:29 -0800 |
---|---|---|
committer | Dylan Reid <dgreid@google.com> | 2016-01-13 18:29:48 -0800 |
commit | c4b0fdc4bf008115c9d7a2589de38ed007ca8138 (patch) | |
tree | 52229246905a1484ed0717786c773fc2c2820b53 | |
parent | 272e3ab72da543c3ed3cb1cf312e45796b149d19 (diff) | |
download | minijail-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |