Mercurial > hg > octave-kai > gnulib-hg
view lib/mktime-internal.h @ 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 | |
children |
line wrap: on
line source
#include <time.h> time_t mktime_internal (struct tm *, struct tm * (*) (time_t const *, struct tm *), time_t *);