bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] selinux-at: omit unnecessary include


From: Paul Eggert
Subject: [PATCH] selinux-at: omit unnecessary include
Date: Fri, 23 Aug 2013 13:54:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

* lib/selinux-at.c: Don't include dosname.h; not needed, since
this source file doesn't use its macros, and subsidiary files that
use the macros already include it.
---
 ChangeLog        | 7 +++++++
 lib/selinux-at.c | 1 -
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a5803ab..7894c2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-08-23  Paul Eggert  <address@hidden>
+
+       selinux-at: omit unnecessary include
+       * lib/selinux-at.c: Don't include dosname.h; not needed, since
+       this source file doesn't use its macros, and subsidiary files that
+       use the macros already include it.
+
 2013-08-21  Eric Blake  <address@hidden>
 
        d-ino: avoid false negative on symlink
diff --git a/lib/selinux-at.c b/lib/selinux-at.c
index 386763f..1c766fc 100644
--- a/lib/selinux-at.c
+++ b/lib/selinux-at.c
@@ -26,7 +26,6 @@
 #include <errno.h>
 #include <fcntl.h>
 
-#include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
 #include "save-cwd.h"
 
 #include "openat-priv.h"
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]