From f70369bf448b5ebc512ea900f6c284ab8fa1d35b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 2 Oct 2007 00:40:59 +0200 Subject: [PATCH] Rename unistd_.h to unistd.in.h. --- ChangeLog | 3 +++ lib/getlogin_r.c | 2 +- lib/{unistd_.h => unistd.in.h} | 0 modules/unistd | 4 ++-- 4 files changed, 6 insertions(+), 3 deletions(-) rename lib/{unistd_.h => unistd.in.h} (100%) diff --git a/ChangeLog b/ChangeLog index b04636f7c..84d5e9f9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -80,6 +80,9 @@ sysexits_.h. * lib/time.in.h: Renamed from lib/time_.h. * modules/time (Files, Makefile.am): Use time.in.h instead of time_.h. + * lib/unistd.in.h: Renamed from lib/unistd_.h. + * modules/unistd (Files, Makefile.am): Use unistd.in.h instead of + unistd_.h. 2007-09-30 Bruno Haible diff --git a/lib/getlogin_r.c b/lib/getlogin_r.c index bb89f6e60..39b6f275c 100644 --- a/lib/getlogin_r.c +++ b/lib/getlogin_r.c @@ -30,7 +30,7 @@ char *getlogin (void); #endif -/* See unistd_.h for documentation. */ +/* See unistd.in.h for documentation. */ int getlogin_r (char *name, size_t size) { diff --git a/lib/unistd_.h b/lib/unistd.in.h similarity index 100% rename from lib/unistd_.h rename to lib/unistd.in.h diff --git a/modules/unistd b/modules/unistd index ba288fd50..4c7711caa 100644 --- a/modules/unistd +++ b/modules/unistd @@ -3,7 +3,7 @@ A GNU-like . Files: m4/unistd_h.m4 -lib/unistd_.h +lib/unistd.in.h Depends-on: include_next @@ -17,7 +17,7 @@ BUILT_SOURCES += unistd.h # We need the following in order to create an empty placeholder for # when the system doesn't have one. -unistd.h: unistd_.h +unistd.h: unistd.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -- 2.11.0