No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / usr.bin / rcs / lib / maketime.h
blob1a909dc7f45104a35021ede8ad2c25020158ad47
1 /* $NetBSD: maketime.h,v 1.1.1.1 1996/10/13 21:57:10 veego Exp $ */
3 /* Yield time_t from struct partime yielded by partime. */
5 /* Copyright 1993, 1994, 1995 Paul Eggert
6 Distributed under license by the Free Software Foundation, Inc.
8 This file is part of RCS.
10 RCS is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
13 any later version.
15 RCS is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with RCS; see the file COPYING.
22 If not, write to the Free Software Foundation,
23 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 Report problems and direct all questions to:
27 rcs-bugs@cs.purdue.edu
31 #if defined(__STDC__) || has_prototypes
32 # define __MAKETIME_P(x) x
33 #else
34 # define __MAKETIME_P(x) ()
35 #endif
37 struct tm *time2tm __MAKETIME_P((time_t,int));
38 time_t difftm __MAKETIME_P((struct tm const *, struct tm const *));
39 time_t str2time __MAKETIME_P((char const *, time_t, long));
40 time_t tm2time __MAKETIME_P((struct tm *, int));
41 void adjzone __MAKETIME_P((struct tm *, long));