diff modules/timegm @ 12228:465038ef6bc4

mktime, timegm: share common declaration * lib/mktime-internal.h: New file. * lib/mktime.c: Use it rather than open-coding a declaration. * lib/timegm.c: Likewise. * modules/mktime (Files): Ship it. * modules/timegm (Files): Likewise. Suggested by Bruno Haible. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 02 Nov 2009 11:39:38 -0700 (2009-11-02)
parents 404dc8725caf
children ea38eeab7d0f
line wrap: on
line diff
--- a/modules/timegm
+++ b/modules/timegm
@@ -2,6 +2,7 @@
 Convert calendar time to simple time, inverse of mktime.
 
 Files:
+lib/mktime-internal.h
 lib/timegm.c
 m4/timegm.m4