changeset 5169:62a3f9818260

xgethostname simplification
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 09 Aug 2004 23:45:32 +0000
parents 399a9e0a55bb
children 17c4badb3864
files ChangeLog lib/ChangeLog lib/xgethostname.c modules/xgethostname
diffstat 4 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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.
--- a/lib/xgethostname.c
+++ b/lib/xgethostname.c
@@ -33,7 +33,6 @@
 # include <unistd.h>
 #endif
 
-#include "error.h"
 #include "xalloc.h"
 
 #ifndef ENAMETOOLONG
--- a/modules/xgethostname
+++ b/modules/xgethostname
@@ -8,8 +8,6 @@
 Depends-on:
 gethostname
 xalloc
-error
-exit
 
 configure.ac: