devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f84d23ffd25a0e669087cf068d8fab355d5d824d

commit f84d23ffd25a0e669087cf068d8fab355d5d824d
Author: Elyes HAOUAS <[email protected]>
Date:   Tue May 19 16:59:33 2020 +0000

    Remove duplicated includes
    
    Remove duplicated includes
    
    Reviewed-by: Christopher Michael <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11857
---
 src/bin/e_ckpasswd_main.c | 1 -
 src/bin/e_start_main.c    | 1 -
 src/bin/e_util_suid.h     | 2 --
 src/bin/system/e_system.h | 1 -
 4 files changed, 5 deletions(-)

diff --git a/src/bin/e_ckpasswd_main.c b/src/bin/e_ckpasswd_main.c
index cbfe119d0..092128035 100644
--- a/src/bin/e_ckpasswd_main.c
+++ b/src/bin/e_ckpasswd_main.c
@@ -11,7 +11,6 @@
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #endif
-#include <sys/types.h>
 
 #include <Eina.h>
 #include <Ecore.h>
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index b2c439455..8534a7a8e 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -24,7 +24,6 @@
 # endif
 #endif
 
-#include <limits.h>
 #include <fcntl.h>
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
diff --git a/src/bin/e_util_suid.h b/src/bin/e_util_suid.h
index 128888ac8..e09091146 100644
--- a/src/bin/e_util_suid.h
+++ b/src/bin/e_util_suid.h
@@ -26,8 +26,6 @@
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #endif
-#include <sys/types.h>
-#include <pwd.h>
 #ifdef HAVE_PRCTL
 # include <sys/prctl.h>
 #elif defined(HAVE_PROCCTL)
diff --git a/src/bin/system/e_system.h b/src/bin/system/e_system.h
index 00fc636ff..f2255b803 100644
--- a/src/bin/system/e_system.h
+++ b/src/bin/system/e_system.h
@@ -64,7 +64,6 @@ void *alloca (size_t);
 # include <signal.h>
 # include <inttypes.h>
 # include <assert.h>
-# include <fcntl.h>
 # if !defined (__FreeBSD__) && !defined (__OpenBSD__)
 #  ifdef HAVE_MALLOC_H
 #   include <malloc.h>

-- 


Reply via email to