Add xgethostname.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Sep 2003 21:09:18 +0000 (21:09 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Sep 2003 21:09:18 +0000 (21:09 +0000)
lib/xgethostname.c
lib/xgethostname.h [new file with mode: 0644]
modules/xgethostname

index 494571ee1d8e4381fb88dcb07946f0cdabd3260b..1f4d728a038210f0805b0a0b02891f24dc0b9c9d 100644 (file)
@@ -21,6 +21,9 @@
 # include <config.h>
 #endif
 
+/* Specification.  */
+#include "xgethostname.h"
+
 #include <stdlib.h>
 #include <sys/types.h>
 
diff --git a/lib/xgethostname.h b/lib/xgethostname.h
new file mode 100644 (file)
index 0000000..0177a40
--- /dev/null
@@ -0,0 +1 @@
+char *xgethostname (void);
index d5bef5d61eb49cdab9074d14d08c49d0f1454f73..07a90cdc16ed3215f3d545bdc368cc1de2fe5cca 100644 (file)
@@ -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