[systemd-devel] [PATCH 1/2] remove unneeded libgen.h includes
Cristian RodrÃguez
crrodriguez at opensuse.org
Wed Jan 14 05:39:53 PST 2015
---
src/core/mount-setup.c | 1 -
src/journal/catalog.c | 1 -
src/test/test-namespace.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index bd3a035..eb9641f 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -24,7 +24,6 @@
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
-#include <libgen.h>
#include <assert.h>
#include <unistd.h>
#include <ftw.h>
diff --git a/src/journal/catalog.c b/src/journal/catalog.c
index 81a2e94..f170232 100644
--- a/src/journal/catalog.c
+++ b/src/journal/catalog.c
@@ -26,7 +26,6 @@
#include <string.h>
#include <sys/mman.h>
#include <locale.h>
-#include <libgen.h>
#include "util.h"
#include "log.h"
diff --git a/src/test/test-namespace.c b/src/test/test-namespace.c
index e74fd0c..084a58f 100644
--- a/src/test/test-namespace.c
+++ b/src/test/test-namespace.c
@@ -19,7 +19,6 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <libgen.h>
#include <sys/socket.h>
#include "namespace.h"
--
2.2.1
More information about the systemd-devel
mailing list