1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/xgethostname
Bruno Haible 9af2d6c99c xgetdomainname: Ensure .c file starts with '#include <config.h>'.
* lib/xgetaname-impl.h: New file, based on lib/xgethostname.c.
* lib/xgethostname.c: Move implementation to lib/xgetaname-impl.h.
* lib/xgetdomainname.c: Include <config.h>. Include xgetaname-impl.h
instead of xgethostname.c.
* modules/xgethostname (Files): Add lib/xgetaname-impl.h.
* modules/xgetdomainname (Files): Likewise.
(Depends-on): Remove xgethostname. Add free-posix, xalloc.
2021-08-07 23:30:53 +02:00

27 lines
317 B
Plaintext

Description:
Return machine's hostname, without size limitations.
Files:
lib/xgethostname.h
lib/xgethostname.c
lib/xgetaname-impl.h
Depends-on:
free-posix
gethostname
xalloc
configure.ac:
Makefile.am:
lib_SOURCES += xgethostname.h xgethostname.c
Include:
"xgethostname.h"
License:
GPL
Maintainer:
Jim Meyering