X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftimegm.h;h=4d30b211f1e639b7f59f6b2a011baa68e6988783;hb=9db47123ce74651bda88707c3f67441622aae399;hp=18df9813e7c49eaf4da6a23bf1b3c855751e0862;hpb=963409a8758faf2b24658c0a23cf0424211263d3;p=gnulib.git diff --git a/lib/timegm.h b/lib/timegm.h index 18df9813e..4d30b211f 100644 --- a/lib/timegm.h +++ b/lib/timegm.h @@ -1,4 +1,5 @@ -/* Convert calendar time to simple time, inverse of mktime. +/* Convert UTC calendar time to simple time. Like mktime but assumes UTC. + Copyright (C) 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -15,17 +16,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifdef HAVE_TIMEGM - -/* Get timegm declaration. */ -#include - -#else - -/* Get time_t and struct tm. */ #include -/* Convert calendar time to simple time, inverse of mktime. */ -extern time_t timegm (struct tm *tm); - +#ifndef HAVE_DECL_TIMEGM +time_t timegm (struct tm *tm); #endif