From 25ef69613afa3d3e727203c74b7c011f87813663 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 9 Aug 2004 23:45:32 +0000 Subject: [PATCH] xgethostname simplification --- ChangeLog | 5 +++++ lib/ChangeLog | 4 ++++ lib/xgethostname.c | 1 - modules/xgethostname | 2 -- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9960e62ca..8bb8bc14a 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 + + * modules/xgethostname (Depends-on): Remove exit and error (not + used). + 2004-08-06 Paul Eggert More merge from coreutils. diff --git a/lib/ChangeLog b/lib/ChangeLog index 6f64e7268..194a6cc8f 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2004-08-08 Simon Josefsson + + * xgethostname.c: Don't include error.h (not used). + 2004-08-08 Paul Eggert * xalloc-die.c: New files. diff --git a/lib/xgethostname.c b/lib/xgethostname.c index 87e0ad926..7b29176f2 100644 --- a/lib/xgethostname.c +++ b/lib/xgethostname.c @@ -33,7 +33,6 @@ # include #endif -#include "error.h" #include "xalloc.h" #ifndef ENAMETOOLONG diff --git a/modules/xgethostname b/modules/xgethostname index 07a90cdc1..840faf156 100644 --- a/modules/xgethostname +++ b/modules/xgethostname @@ -8,8 +8,6 @@ lib/xgethostname.c Depends-on: gethostname xalloc -error -exit configure.ac: -- 2.11.0