diff options
author | Ziyan <jaraidaniel@gmail.com> | 2016-09-15 10:59:48 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-09-24 13:51:55 +0200 |
commit | 1f1cd98e3dc8a03d437ca64b81912c3c0fed633d (patch) | |
tree | 17ad853b593102620f5a72bf93757dc93e6a088f /liblights | |
parent | 1186c87449becc7998c927aa8168f8de00dc712d (diff) | |
download | device_samsung_espressowifi-1f1cd98e3dc8a03d437ca64b81912c3c0fed633d.zip device_samsung_espressowifi-1f1cd98e3dc8a03d437ca64b81912c3c0fed633d.tar.gz device_samsung_espressowifi-1f1cd98e3dc8a03d437ca64b81912c3c0fed633d.tar.bz2 |
liblights: build with -Wall -Werror
Change-Id: Iec9293de656600eed6ac9da23bb27a13520b7cb0
Diffstat (limited to 'liblights')
-rwxr-xr-x | liblights/Android.mk | 1 | ||||
-rw-r--r-- | liblights/lights.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/liblights/Android.mk b/liblights/Android.mk index aaa3a96..d694fc0 100755 --- a/liblights/Android.mk +++ b/liblights/Android.mk @@ -21,6 +21,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := lights.c +LOCAL_CFLAGS := -Wall -Werror LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw diff --git a/liblights/lights.c b/liblights/lights.c index dc3fdb4..dcab8a3 100644 --- a/liblights/lights.c +++ b/liblights/lights.c @@ -19,6 +19,7 @@ #include <cutils/log.h> #include <stdint.h> +#include <stdlib.h> #include <string.h> #include <errno.h> #include <fcntl.h> |