[systemd-devel] [PATCH 3/3] core: remove unneeded <libgen.h> include
Cristian RodrÃguez
crrodriguez at opensuse.org
Mon Feb 9 16:41:09 PST 2015
execute.c only uses basename (the GNU version in <string.h>)
---
src/core/execute.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/core/execute.c b/src/core/execute.c
index 874cdc7..7b071e8 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -40,8 +40,6 @@
#include <sys/poll.h>
#include <glob.h>
#include <sys/personality.h>
-#include <libgen.h>
-#undef basename
#ifdef HAVE_PAM
#include <security/pam_appl.h>
--
2.2.2
More information about the systemd-devel
mailing list