From 51c80946eb154a8c35fc64942831490d305a570b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 24 Sep 2003 21:09:18 +0000 Subject: [PATCH] Add xgethostname.h. --- lib/xgethostname.c | 3 +++ lib/xgethostname.h | 1 + modules/xgethostname | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 lib/xgethostname.h diff --git a/lib/xgethostname.c b/lib/xgethostname.c index 494571ee1d..1f4d728a03 100644 --- a/lib/xgethostname.c +++ b/lib/xgethostname.c @@ -21,6 +21,9 @@ # include #endif +/* Specification. */ +#include "xgethostname.h" + #include #include diff --git a/lib/xgethostname.h b/lib/xgethostname.h new file mode 100644 index 0000000000..0177a4096a --- /dev/null +++ b/lib/xgethostname.h @@ -0,0 +1 @@ +char *xgethostname (void); diff --git a/modules/xgethostname b/modules/xgethostname index d5bef5d61e..07a90cdc16 100644 --- a/modules/xgethostname +++ b/modules/xgethostname @@ -2,6 +2,7 @@ Description: Return machine's hostname, without size limitations. Files: +lib/xgethostname.h lib/xgethostname.c Depends-on: @@ -13,9 +14,10 @@ exit configure.ac: Makefile.am: -lib_SOURCES += xgethostname.c +lib_SOURCES += xgethostname.h xgethostname.c Include: +"xgethostname.h" Maintainer: Jim Meyering -- 2.30.2