[ostree] Remove unused <dirent.h>
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] Remove unused <dirent.h>
- Date: Fri, 30 Jan 2015 15:16:10 +0000 (UTC)
commit ea4683ba06a7bd5857ad5e5ca90766df0630947d
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Fri Jan 30 15:10:16 2015 +0100
Remove unused <dirent.h>
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
cfg.mk | 1 -
src/libotutil/ot-unix-utils.c | 1 -
src/switchroot/ostree-prepare-root.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/cfg.mk b/cfg.mk
index 186c049..d3e18ca 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -20,7 +20,6 @@ local-checks-to-skip = \
\
sc_program_name \
sc_bindtextdomain \
- sc_prohibit_dirent_without_use \
sc_prohibit_empty_lines_at_EOF \
sc_prohibit_magic_number_exit \
sc_prohibit_path_max_allocation \
diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c
index daa3f00..2cc375a 100644
--- a/src/libotutil/ot-unix-utils.c
+++ b/src/libotutil/ot-unix-utils.c
@@ -34,7 +34,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
-#include <dirent.h>
gboolean
ot_util_filename_validate (const char *name,
diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c
index f49f259..a733846 100644
--- a/src/switchroot/ostree-prepare-root.c
+++ b/src/switchroot/ostree-prepare-root.c
@@ -41,7 +41,6 @@
#include <string.h>
#include <errno.h>
#include <ctype.h>
-#include <dirent.h>
#include "ostree-mount-util.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]