changeset 4728:441e2be5f104

Add xgethostname.h.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 24 Sep 2003 21:09:18 +0000
parents 9c493e421b7f
children 3a18231825ef
files lib/xgethostname.c lib/xgethostname.h modules/xgethostname
diffstat 3 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/xgethostname.c
+++ b/lib/xgethostname.c
@@ -21,6 +21,9 @@
 # include <config.h>
 #endif
 
+/* Specification.  */
+#include "xgethostname.h"
+
 #include <stdlib.h>
 #include <sys/types.h>
 
new file mode 100644
--- /dev/null
+++ b/lib/xgethostname.h
@@ -0,0 +1,1 @@
+char *xgethostname (void);
--- a/modules/xgethostname
+++ b/modules/xgethostname
@@ -2,6 +2,7 @@
 Return machine's hostname, without size limitations.
 
 Files:
+lib/xgethostname.h
 lib/xgethostname.c
 
 Depends-on:
@@ -13,9 +14,10 @@
 configure.ac:
 
 Makefile.am:
-lib_SOURCES += xgethostname.c
+lib_SOURCES += xgethostname.h xgethostname.c
 
 Include:
+"xgethostname.h"
 
 Maintainer:
 Jim Meyering