aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/Android.mk2
-rw-r--r--init/init_shinano.cpp (renamed from init/init_shinano.c)2
2 files changed, 2 insertions, 2 deletions
diff --git a/init/Android.mk b/init/Android.mk
index 0e8d85a..b76d2d7 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -6,7 +6,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES := system/core/init
LOCAL_CFLAGS := -Wall
-LOCAL_SRC_FILES := init_shinano.c
+LOCAL_SRC_FILES := init_shinano.cpp
LOCAL_MODULE := libinit_shinano
include $(BUILD_STATIC_LIBRARY)
diff --git a/init/init_shinano.c b/init/init_shinano.cpp
index e278a41..e9ed00b 100644
--- a/init/init_shinano.c
+++ b/init/init_shinano.cpp
@@ -24,7 +24,7 @@
#include <sys/system_properties.h>
-static void import_kernel_nv(char *name)
+static void import_kernel_nv(char *name, __attribute__((unused)) bool foo)
{
char *value = strchr(name, '=');
int name_len = strlen(name);