From ed04630ae99f42a3a9ba4116b91f1f2c32ae88be Mon Sep 17 00:00:00 2001 From: Ankur Date: Thu, 18 Dec 2014 18:54:40 +0530 Subject: [PATCH] Fixed implicit declaration warnings -Fixed warnings related to implicit delcaration of strcmp() function. Error: missing #include from the files which are using the function strcmp Change-Id: Ia8c3fec21b7f622543b646063ec9718f5b1cba83 --- test/src/accelerometer.c | 1 + test/src/gyro.c | 1 + test/src/pressure.c | 1 + test/src/proxi.c | 1 + 4 files changed, 4 insertions(+) diff --git a/test/src/accelerometer.c b/test/src/accelerometer.c index 09028e4..c7ea6e6 100644 --- a/test/src/accelerometer.c +++ b/test/src/accelerometer.c @@ -22,6 +22,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/gyro.c b/test/src/gyro.c index 884507b..ae34d95 100644 --- a/test/src/gyro.c +++ b/test/src/gyro.c @@ -23,6 +23,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/pressure.c b/test/src/pressure.c index 0ac4e6d..e3ed4b4 100644 --- a/test/src/pressure.c +++ b/test/src/pressure.c @@ -23,6 +23,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/proxi.c b/test/src/proxi.c index 7ed2d64..9ac965f 100644 --- a/test/src/proxi.c +++ b/test/src/proxi.c @@ -23,6 +23,7 @@ #include #include #include +#include static GMainLoop *mainloop; -- 2.7.4