changeset 37160:e39a6d4368b4

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 23 Aug 2013 13:53:46 -0700
parents a981b0ed9f83
children eedfb62ad2f7
files ChangeLog lib/selinux-at.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Aug 22 15:18:26 2013 -0700
+++ b/ChangeLog	Fri Aug 23 13:53:46 2013 -0700
@@ -1,3 +1,10 @@
+2013-08-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+	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  <eblake@redhat.com>
 
 	d-ino: avoid false negative on symlink
--- a/lib/selinux-at.c	Thu Aug 22 15:18:26 2013 -0700
+++ b/lib/selinux-at.c	Fri Aug 23 13:53:46 2013 -0700
@@ -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"