From 02c00275923784c75b51a9e819b6c0f620d9abf0 Mon Sep 17 00:00:00 2001 From: Ankur Date: Tue, 23 Dec 2014 14:21:37 +0530 Subject: [PATCH] Removed compiler warning - implicit declaration of a function -Needed to include #include before using the string functions. -Already submitted a similar change. -Some of the files here, which were showing warning, were already fixed. But, seems some other change has removed the #include . So, I am resubmitting it. -Remaining files - earlier string functions were not being used. Change-Id: I8d1c98de81ee39308343f42034c414501e60d653 --- test/src/gyro.c | 1 + test/src/light.c | 1 + test/src/pressure.c | 1 + test/src/proxi.c | 1 + test/src/temperature.c | 1 + 5 files changed, 5 insertions(+) diff --git a/test/src/gyro.c b/test/src/gyro.c index b74d98d0..915971bf 100644 --- a/test/src/gyro.c +++ b/test/src/gyro.c @@ -24,6 +24,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/light.c b/test/src/light.c index 454d5c2a..e2b6e694 100644 --- a/test/src/light.c +++ b/test/src/light.c @@ -24,6 +24,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/pressure.c b/test/src/pressure.c index a92ad591..12f57342 100644 --- a/test/src/pressure.c +++ b/test/src/pressure.c @@ -24,6 +24,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/proxi.c b/test/src/proxi.c index 70185bda..4d3092d5 100644 --- a/test/src/proxi.c +++ b/test/src/proxi.c @@ -24,6 +24,7 @@ #include #include #include +#include static GMainLoop *mainloop; diff --git a/test/src/temperature.c b/test/src/temperature.c index ffdb2e99..3f852c80 100644 --- a/test/src/temperature.c +++ b/test/src/temperature.c @@ -24,6 +24,7 @@ #include #include #include +#include static GMainLoop *mainloop; -- 2.34.1