diff options
author | Bruno Haible <bruno@clisp.org> | 2008-10-19 03:36:00 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-10-19 03:36:00 +0200 |
commit | 977cc95fb20fde55a8ce6654397e7ca56f6c6792 (patch) | |
tree | ba6a6b93912eeb88a63cee5ab4816f7b8f2edc3d /modules | |
parent | 973f26fd8722bcf6cea6d5a15b3f3c7860e55100 (diff) | |
download | gnulib-977cc95fb20fde55a8ce6654397e7ca56f6c6792.tar.gz |
Move the getdomainname() declaration to <unistd.h>.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/getdomainname | 6 | ||||
-rw-r--r-- | modules/unistd | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/getdomainname b/modules/getdomainname index b69a1f26df..4f37a0cc22 100644 --- a/modules/getdomainname +++ b/modules/getdomainname @@ -2,19 +2,21 @@ Description: getdomainname() function: Return machine's NIS domain name. Files: -lib/getdomainname.h lib/getdomainname.c m4/getdomainname.m4 Depends-on: +unistd +extensions configure.ac: gl_FUNC_GETDOMAINNAME +gl_UNISTD_MODULE_INDICATOR([getdomainname]) Makefile.am: Include: -"getdomainname.h" +<unistd.h> License: GPL diff --git a/modules/unistd b/modules/unistd index 820f33e83a..a5a5b791dc 100644 --- a/modules/unistd +++ b/modules/unistd @@ -32,6 +32,7 @@ unistd.h: unistd.in.h -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \ -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \ -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \ + -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \ -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \ -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ @@ -44,6 +45,7 @@ unistd.h: unistd.in.h -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ + -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ |