summaryrefslogtreecommitdiffstats
path: root/init/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-02 16:43:32 -0800
committerElliott Hughes <enh@google.com>2015-02-02 16:43:32 -0800
commitd3e37d14e755f07c7d10925514fdf7267a6abf04 (patch)
tree0582058a39a1eed171d066d03adb04e47625f736 /init/Android.mk
parentb101f8795a3d3d1c1f5c403bafec93f3d90d0360 (diff)
downloadsystem_core-d3e37d14e755f07c7d10925514fdf7267a6abf04.zip
system_core-d3e37d14e755f07c7d10925514fdf7267a6abf04.tar.gz
system_core-d3e37d14e755f07c7d10925514fdf7267a6abf04.tar.bz2
Trivial cleanup of recent changes.
A typo in the documentation for one, and a couple of signed/unsigned warnings in the implementation of the other. Change-Id: I8fb4b7448ac901c543dea7420aabcedf13ec1bd8
Diffstat (limited to 'init/Android.mk')
-rw-r--r--init/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/init/Android.mk b/init/Android.mk
index 4df4489..606c199 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -17,7 +17,11 @@ LOCAL_SRC_FILES:= \
ueventd_parser.c \
watchdogd.c
-LOCAL_CFLAGS += -Wno-unused-parameter
+LOCAL_CFLAGS += \
+ -std=gnu11 \
+ -Wall \
+ -Werror -Wno-error=deprecated-declarations \
+ -Wno-unused-parameter \
ifeq ($(strip $(INIT_BOOTCHART)),true)
LOCAL_SRC_FILES += bootchart.c