Fixed implicit declaration warnings 82/32482/1
authorAnkur <ankur29.garg@samsung.com>
Thu, 18 Dec 2014 13:24:40 +0000 (18:54 +0530)
committerAnkur <ankur29.garg@samsung.com>
Thu, 18 Dec 2014 13:24:45 +0000 (18:54 +0530)
-Fixed warnings related to implicit delcaration of strcmp() function.
Error: missing #include<string.h> from the files which are using the function strcmp

Change-Id: Ia8c3fec21b7f622543b646063ec9718f5b1cba83

test/src/accelerometer.c
test/src/gyro.c
test/src/pressure.c
test/src/proxi.c

index 09028e4..c7ea6e6 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 884507b..ae34d95 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 0ac4e6d..e3ed4b4 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 7ed2d64..9ac965f 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;