getdate: rename to get_date
authorEric Blake <eblake@redhat.com>
Thu, 30 Sep 2010 15:23:12 +0000 (09:23 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 30 Sep 2010 15:23:12 +0000 (09:23 -0600)
commit9ff86bc1fbc6e5e31220cc1e04f1e07e03d4d5a4
treefe8c7b50047bcbfca190b08957dbb78314e74c52
parent77a06aac2187e2ea13e5b7aa8e30d46a81ca45f8
getdate: rename to get_date

Note: getdate.h is not renamed, to minimize client impact.
Besides, whenever we eventually add getdate-posix, we'll
want to use getdate.m4 and getdate.c for the implementation,
but don't need to worry about getdate.h since getdate() uses
<time.h> for its header.

* modules/getdate: Mark obsolete.  Move old contents...
* modules/get_date: ...to new module name.
* modules/getdate-tests: Move...
* modules/get_date-tests: ...here.
* m4/getdate.m4: Move...
* m4/get_date.m4: ...here, and rename gl_GETDATE to gl_GET_DATE.
* lib/getdate.y: Move...
* lib/get_date.y: ...here.
* tests/test-getdate.c: Move...
* tests/test-get_date.c: ...here.
* doc/posix-functions/getdate.texi (getdate): Update name.
* NEWS: Mention the change.

Signed-off-by: Eric Blake <eblake@redhat.com>
13 files changed:
ChangeLog
NEWS
doc/posix-functions/getdate.texi
lib/get_date.y [new file with mode: 0644]
lib/getdate.y [deleted file]
m4/get_date.m4 [new file with mode: 0644]
m4/getdate.m4 [deleted file]
modules/get_date [new file with mode: 0644]
modules/get_date-tests [new file with mode: 0644]
modules/getdate
modules/getdate-tests [deleted file]
tests/test-get_date.c [new file with mode: 0644]
tests/test-getdate.c [deleted file]