[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] xgethostname simplification
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] xgethostname simplification |
Date: |
Sun, 08 Aug 2004 01:19:44 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
In GSS I use a custom xalloc module, so I noticed that xgethostname
drag in exit and error but doesn't use them. Depends-on should only
list modules which the module depend on directly, right?
2004-08-08 Simon Josefsson <address@hidden>
* xgethostname.c: Don't include error.h (not used).
2004-08-08 Simon Josefsson <address@hidden>
* modules/xgethostname (Depends-on): Remove exit and error (not
used).
Index: xgethostname.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/xgethostname.c,v
retrieving revision 1.18
diff -u -p -u -w -r1.18 xgethostname.c
--- xgethostname.c 7 Aug 2004 00:09:39 -0000 1.18
+++ xgethostname.c 7 Aug 2004 23:15:16 -0000
@@ -33,7 +33,6 @@
# include <unistd.h>
#endif
-#include "error.h"
#include "xalloc.h"
#ifndef ENAMETOOLONG
Index: xgethostname
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/xgethostname,v
retrieving revision 1.6
diff -u -p -u -w -r1.6 xgethostname
--- xgethostname 24 Sep 2003 21:09:18 -0000 1.6
+++ xgethostname 7 Aug 2004 23:17:06 -0000
@@ -8,8 +8,6 @@ lib/xgethostname.c
Depends-on:
gethostname
xalloc
-error
-exit
configure.ac:
- [Bug-gnulib] xgethostname simplification,
Simon Josefsson <=