summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-12 11:06:08 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-01-12 11:06:12 -0800
commit4916973a6084edc5e213dcfe1b1fa8697ff4138d (patch)
treed472c5e11db2297cd8f45989ed208fa357be4f58
parentdd11d1965339b60f6bf103ffa29d5a100b43888b (diff)
efl: remove inclusion of dirent.h where it is not used
Test Plan: compilation Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5733 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/examples/ethumb_client/ethumb_dbus.c1
-rw-r--r--src/lib/eina/eina_file_common.c3
-rw-r--r--src/lib/ethumb/ethumb.c1
-rw-r--r--src/lib/evil/pwd.h2
-rw-r--r--src/modules/ecore_evas/engines/fb/ecore_evas_fb.c1
5 files changed, 1 insertions, 7 deletions
diff --git a/src/examples/ethumb_client/ethumb_dbus.c b/src/examples/ethumb_client/ethumb_dbus.c
index aa3b2f5..3fe0229 100644
--- a/src/examples/ethumb_client/ethumb_dbus.c
+++ b/src/examples/ethumb_client/ethumb_dbus.c
@@ -28,7 +28,6 @@
28#include <stdlib.h> 28#include <stdlib.h>
29#include <string.h> 29#include <string.h>
30#include <limits.h> 30#include <limits.h>
31#include <dirent.h>
32#include <Ethumb.h> 31#include <Ethumb.h>
33#include <Ethumb_Client.h> 32#include <Ethumb_Client.h>
34#include <Eina.h> 33#include <Eina.h>
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c
index 1c53226..3de4252 100644
--- a/src/lib/eina/eina_file_common.c
+++ b/src/lib/eina/eina_file_common.c
@@ -23,9 +23,6 @@
23#include <string.h> 23#include <string.h>
24#include <stdint.h> 24#include <stdint.h>
25#include <stdio.h> 25#include <stdio.h>
26#ifdef HAVE_DIRENT_H
27# include <dirent.h>
28#endif
29#include <unistd.h> 26#include <unistd.h>
30#include <fcntl.h> 27#include <fcntl.h>
31#include <errno.h> 28#include <errno.h>
diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c
index 13ee30c..f6ddf9e 100644
--- a/src/lib/ethumb/ethumb.c
+++ b/src/lib/ethumb/ethumb.c
@@ -40,7 +40,6 @@
40#include <errno.h> 40#include <errno.h>
41#include <sys/types.h> 41#include <sys/types.h>
42#include <sys/stat.h> 42#include <sys/stat.h>
43#include <dirent.h>
44#include <ctype.h> 43#include <ctype.h>
45#include <pwd.h> 44#include <pwd.h>
46 45
diff --git a/src/lib/evil/pwd.h b/src/lib/evil/pwd.h
index 2663490..fd422eb 100644
--- a/src/lib/evil/pwd.h
+++ b/src/lib/evil/pwd.h
@@ -8,7 +8,7 @@
8 * @defgroup Evil_Pwd_Group Pwd.h functions 8 * @defgroup Evil_Pwd_Group Pwd.h functions
9 * @ingroup Evil 9 * @ingroup Evil
10 * 10 *
11 * This header provides functions ported from Unix in dirent.h. 11 * This header provides functions ported from Unix in pwd.h.
12 * 12 *
13 * @{ 13 * @{
14 */ 14 */
diff --git a/src/modules/ecore_evas/engines/fb/ecore_evas_fb.c b/src/modules/ecore_evas/engines/fb/ecore_evas_fb.c
index 7dd2ddc..b2f485e 100644
--- a/src/modules/ecore_evas/engines/fb/ecore_evas_fb.c
+++ b/src/modules/ecore_evas/engines/fb/ecore_evas_fb.c
@@ -4,7 +4,6 @@
4 4
5#include <stdlib.h> 5#include <stdlib.h>
6#include <sys/types.h> 6#include <sys/types.h>
7#include <dirent.h>
8 7
9#include <Eina.h> 8#include <Eina.h>
10#include <Ecore.h> 9#include <Ecore.h>