Don't include dirname.h, since system.h does it now.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Sep 2006 02:53:16 +0000 (02:53 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Sep 2006 02:53:16 +0000 (02:53 +0000)
17 files changed:
src/basename.c
src/chmod.c
src/copy.c
src/cp.c
src/df.c
src/dircolors.c
src/dirname.c
src/du.c
src/install.c
src/ln.c
src/ls.c
src/mkdir.c
src/mv.c
src/rmdir.c
src/shred.c
src/split.c
src/su.c

index 05fbb66..f2617b1 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "system.h"
 #include "long-options.h"
-#include "dirname.h"
 #include "error.h"
 #include "quote.h"
 
index 0a7ab5e..2961136 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "system.h"
 #include "dev-ino.h"
-#include "dirname.h"
 #include "error.h"
 #include "filemode.h"
 #include "modechange.h"
index e1406f7..f8b0ee6 100644 (file)
@@ -35,7 +35,6 @@
 #include "buffer-lcm.h"
 #include "copy.h"
 #include "cp-hash.h"
-#include "dirname.h"
 #include "euidaccess.h"
 #include "error.h"
 #include "fcntl--.h"
index c1751cf..8ef1153 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -28,7 +28,6 @@
 #include "copy.h"
 #include "cp-hash.h"
 #include "error.h"
-#include "dirname.h"
 #include "filenamecat.h"
 #include "lchmod.h"
 #include "quote.h"
index 7d7bf1b..61a0b40 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -26,7 +26,6 @@
 
 #include "system.h"
 #include "canonicalize.h"
-#include "dirname.h"
 #include "error.h"
 #include "fsusage.h"
 #include "human.h"
index 4f09ae2..fc9319b 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "system.h"
 #include "dircolors.h"
-#include "dirname.h"
 #include "error.h"
 #include "getline.h"
 #include "obstack.h"
index 31a3726..2253391 100644 (file)
@@ -1,6 +1,6 @@
 /* dirname -- strip suffix from file name
 
-   Copyright (C) 1990-1997, 1999-2002, 2004, 2005 Free Software
+   Copyright (C) 1990-1997, 1999-2002, 2004, 2005, 2006 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -27,7 +27,6 @@
 #include "system.h"
 #include "long-options.h"
 #include "error.h"
-#include "dirname.h"
 #include "quote.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
index bb6d1ec..5f4e796 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -31,7 +31,6 @@
 #include <assert.h>
 #include "system.h"
 #include "argmatch.h"
-#include "dirname.h" /* for strip_trailing_slashes */
 #include "error.h"
 #include "exclude.h"
 #include "fprintftime.h"
index d8ec97a..78fa28e 100644 (file)
@@ -30,7 +30,6 @@
 #include "error.h"
 #include "cp-hash.h"
 #include "copy.h"
-#include "dirname.h"
 #include "filenamecat.h"
 #include "mkancesdirs.h"
 #include "mkdir-p.h"
index c544570..46d5834 100644 (file)
--- a/src/ln.c
+++ b/src/ln.c
@@ -25,7 +25,6 @@
 #include "system.h"
 #include "same.h"
 #include "backupfile.h"
-#include "dirname.h"
 #include "error.h"
 #include "filenamecat.h"
 #include "quote.h"
index b33edb3..573f5f5 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -82,7 +82,6 @@
 #include "acl.h"
 #include "argmatch.h"
 #include "dev-ino.h"
-#include "dirname.h"
 #include "dirfd.h"
 #include "error.h"
 #include "filenamecat.h"
index 447cafc..852bc3e 100644 (file)
@@ -23,7 +23,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "dirname.h"
 #include "error.h"
 #include "lchmod.h"
 #include "mkdir-p.h"
index 44e935e..e32cbcc 100644 (file)
--- a/src/mv.c
+++ b/src/mv.c
@@ -28,7 +28,6 @@
 #include "backupfile.h"
 #include "copy.h"
 #include "cp-hash.h"
-#include "dirname.h"
 #include "error.h"
 #include "filenamecat.h"
 #include "quote.h"
index 2d94fcd..39063b4 100644 (file)
@@ -1,5 +1,7 @@
 /* rmdir -- remove directories
-   Copyright (C) 90, 91, 1995-2002, 2004, 2005 Free Software Foundation, Inc.
+
+   Copyright (C) 90, 91, 1995-2002, 2004, 2005, 2006 Free Software
+   Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -28,7 +30,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "dirname.h"
 #include "error.h"
 #include "quotearg.h"
 
index 1f041cb..d3b1c4a 100644 (file)
@@ -95,7 +95,6 @@
 
 #include "system.h"
 #include "xstrtol.h"
-#include "dirname.h"
 #include "error.h"
 #include "fcntl--.h"
 #include "getpagesize.h"
index 1ecb6b3..1f0f3d7 100644 (file)
@@ -28,7 +28,6 @@
 #include <sys/types.h>
 
 #include "system.h"
-#include "dirname.h"
 #include "error.h"
 #include "fd-reopen.h"
 #include "fcntl--.h"
index ddd2677..70828b8 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -60,7 +60,6 @@
 #define getusershell _getusershell_sys_proto_
 
 #include "system.h"
-#include "dirname.h"
 #include "getpass.h"
 
 #undef getusershell