summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gl/modules/getloadavg.diff15
-rw-r--r--src/copy.c2
-rw-r--r--src/cp.c1
-rw-r--r--src/ls.c1
-rw-r--r--src/mkdir.c1
-rw-r--r--src/pwd.c1
-rw-r--r--src/remove.c2
-rw-r--r--src/test.c1
-rw-r--r--src/uptime.c2
9 files changed, 6 insertions, 20 deletions
diff --git a/gl/modules/getloadavg.diff b/gl/modules/getloadavg.diff
index 99d904376..cd03f62cf 100644
--- a/gl/modules/getloadavg.diff
+++ b/gl/modules/getloadavg.diff
@@ -1,16 +1,13 @@
-Index: modules/getloadavg
-===================================================================
-RCS file: /sources/gnulib/gnulib/modules/getloadavg,v
-retrieving revision 1.13
-diff -u -p -r1.13 getloadavg
---- modules/getloadavg 22 Sep 2006 12:47:55 -0000 1.13
-+++ modules/getloadavg 23 Sep 2006 16:41:36 -0000
-@@ -14,7 +14,7 @@ stdbool
+diff --git a/modules/getloadavg b/modules/getloadavg
+index 2fbeb40..b79aaca 100644
+--- a/modules/getloadavg
++++ b/modules/getloadavg
+@@ -16,7 +16,7 @@ stdbool
fcntl-safer
configure.ac:
-gl_GETLOADAVG([$gl_source_base])
+gl_GETLOADAVG([lib])
+ gl_STDLIB_MODULE_INDICATOR([getloadavg])
Makefile.am:
-
diff --git a/src/copy.c b/src/copy.c
index 5a584752d..bc1b20ee2 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -35,7 +35,6 @@
#include "buffer-lcm.h"
#include "copy.h"
#include "cp-hash.h"
-#include "euidaccess.h"
#include "error.h"
#include "fcntl--.h"
#include "file-set.h"
@@ -45,7 +44,6 @@
#include "hash.h"
#include "hash-triple.h"
#include "ignore-value.h"
-#include "lchmod.h"
#include "quote.h"
#include "same.h"
#include "savedir.h"
diff --git a/src/cp.c b/src/cp.c
index 58c9c0953..95eba0cf1 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -30,7 +30,6 @@
#include "error.h"
#include "filenamecat.h"
#include "ignore-value.h"
-#include "lchmod.h"
#include "quote.h"
#include "stat-time.h"
#include "utimens.h"
diff --git a/src/ls.c b/src/ls.c
index efe42e3ec..f454d0e29 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -87,7 +87,6 @@
#include "acl.h"
#include "argmatch.h"
#include "dev-ino.h"
-#include "dirfd.h"
#include "error.h"
#include "filenamecat.h"
#include "hard-locale.h"
diff --git a/src/mkdir.c b/src/mkdir.c
index e408f2975..ca543aa6f 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -24,7 +24,6 @@
#include "system.h"
#include "error.h"
-#include "lchmod.h"
#include "mkdir-p.h"
#include "modechange.h"
#include "prog-fprintf.h"
diff --git a/src/pwd.c b/src/pwd.c
index 3c7b4fcc4..ac59155de 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -20,7 +20,6 @@
#include <sys/types.h>
#include "system.h"
-#include "dirfd.h"
#include "error.h"
#include "long-options.h"
#include "quote.h"
diff --git a/src/remove.c b/src/remove.c
index e92f78caf..28684b29c 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -24,9 +24,7 @@
#include "system.h"
#include "cycle-check.h"
-#include "dirfd.h"
#include "error.h"
-#include "euidaccess.h"
#include "euidaccess-stat.h"
#include "file-type.h"
#include "hash.h"
diff --git a/src/test.c b/src/test.c
index 1fe7da00c..14d20fd27 100644
--- a/src/test.c
+++ b/src/test.c
@@ -38,7 +38,6 @@
#endif
#include "system.h"
-#include "euidaccess.h"
#include "quote.h"
#include "stat-time.h"
#include "strnumcmp.h"
diff --git a/src/uptime.c b/src/uptime.c
index 8687a575f..95fea4b91 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -46,8 +46,6 @@
proper_name ("David MacKenzie"), \
proper_name ("Kaveh Ghazi")
-int getloadavg ();
-
static void
print_uptime (size_t n, const STRUCT_UTMP *this)
{