summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-09 23:45:32 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-09 23:45:32 +0000
commit25ef69613afa3d3e727203c74b7c011f87813663 (patch)
tree2f1adb0f4cdf9e81931d35634fc62af6942bc2b9
parent5243d3a45fe91df3fbb78c2cf26d93de05db97cb (diff)
downloadgnulib-25ef69613afa3d3e727203c74b7c011f87813663.tar.gz
xgethostname simplification
-rw-r--r--ChangeLog5
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/xgethostname.c1
-rw-r--r--modules/xgethostname2
4 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9960e62ca7..8bb8bc14a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,11 @@
(configure.ac): Rename gl_SHA to gl_SHA1.
(Include): sha.h -> sha1.h.
+2004-08-08 Simon Josefsson <jas@extundo.com>
+
+ * modules/xgethostname (Depends-on): Remove exit and error (not
+ used).
+
2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
More merge from coreutils.
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 6f64e72684..194a6cc8f8 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-08 Simon Josefsson <jas@extundo.com>
+
+ * xgethostname.c: Don't include error.h (not used).
+
2004-08-08 Paul Eggert <eggert@cs.ucla.edu>
* xalloc-die.c: New files.
diff --git a/lib/xgethostname.c b/lib/xgethostname.c
index 87e0ad9260..7b29176f20 100644
--- a/lib/xgethostname.c
+++ b/lib/xgethostname.c
@@ -33,7 +33,6 @@
# include <unistd.h>
#endif
-#include "error.h"
#include "xalloc.h"
#ifndef ENAMETOOLONG
diff --git a/modules/xgethostname b/modules/xgethostname
index 07a90cdc16..840faf156e 100644
--- a/modules/xgethostname
+++ b/modules/xgethostname
@@ -8,8 +8,6 @@ lib/xgethostname.c
Depends-on:
gethostname
xalloc
-error
-exit
configure.ac: