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 09028e40e0f3d56d6bd4ba7d58560b53e6c5ff49..c7ea6e622b1a7859c2a926a52ffbb6506ea6c717 100644 (file)
@@ -22,6 +22,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 884507bb41f07143427214896af328034235f74f..ae34d95e82c0180cc6288eeca32b2b95ff0afac9 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 0ac4e6dcdf6d0177cb45928601426e6a7a180e96..e3ed4b424b669210b4387d8bca6d786806ad5fee 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;
 
index 7ed2d6494dba97c5145f84bce472685e14fdd364..9ac965fa325e29c79c744512496817b7789d3e15 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include <sensor_internal.h>
 #include <stdbool.h>
+#include <string.h>
 
 static GMainLoop *mainloop;