111891Speter/* Yield time_t from struct partime yielded by partime.  */
211891Speter
311891Speter/* Copyright 1993, 1994, 1995 Paul Eggert
411891Speter   Distributed under license by the Free Software Foundation, Inc.
511891Speter
611891SpeterThis file is part of RCS.
711891Speter
811891SpeterRCS is free software; you can redistribute it and/or modify
911891Speterit under the terms of the GNU General Public License as published by
1011891Speterthe Free Software Foundation; either version 2, or (at your option)
1111891Speterany later version.
1211891Speter
1311891SpeterRCS is distributed in the hope that it will be useful,
1411891Speterbut WITHOUT ANY WARRANTY; without even the implied warranty of
1511891SpeterMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1611891SpeterGNU General Public License for more details.
1711891Speter
1811891SpeterYou should have received a copy of the GNU General Public License
1911891Speteralong with RCS; see the file COPYING.
2011891SpeterIf not, write to the Free Software Foundation,
2111891Speter59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2211891Speter
2311891SpeterReport problems and direct all questions to:
2411891Speter
2511891Speter    rcs-bugs@cs.purdue.edu
2611891Speter
2711891Speter*/
2811891Speter
2911891Speter#if defined(__STDC__) || has_prototypes
3011891Speter#	define __MAKETIME_P(x) x
3111891Speter#else
3211891Speter#	define __MAKETIME_P(x) ()
3311891Speter#endif
3411891Speter
3511891Speterstruct tm *time2tm __MAKETIME_P((time_t,int));
3611891Spetertime_t difftm __MAKETIME_P((struct tm const *, struct tm const *));
3711891Spetertime_t str2time __MAKETIME_P((char const *, time_t, long));
3811891Spetertime_t tm2time __MAKETIME_P((struct tm *, int));
3911891Spetervoid adjzone __MAKETIME_P((struct tm *, long));
40