~ubuntu-branches/ubuntu/trusty/patch/trusty-security

« back to all changes in this revision

Viewing changes to src/maketime.h

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-06-30 16:14:19 UTC
  • mfrom: (6.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20130630161419-xg7lwk3vpejzedyc
Tags: 2.7.1-3
* Call 'ed' without a path. Closes: #714423.
* Update copyright for GPL v3. Closes: #664640.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Yield time_t from struct partime yielded by partime.  */
2
 
 
3
 
/* Copyright (C) 1993, 1994, 1995, 2003, 2006 Paul Eggert
4
 
   Distributed under license by the Free Software Foundation, Inc.
5
 
 
6
 
   This file is part of RCS.
7
 
 
8
 
   RCS is free software; you can redistribute it and/or modify
9
 
   it under the terms of the GNU General Public License as published by
10
 
   the Free Software Foundation; either version 2, or (at your option)
11
 
   any later version.
12
 
 
13
 
   RCS is distributed in the hope that it will be useful,
14
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
   GNU General Public License for more details.
17
 
 
18
 
   You should have received a copy of the GNU General Public License
19
 
   along with RCS; see the file COPYING.
20
 
   If not, write to the Free Software Foundation,
21
 
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
 
 
23
 
   Report problems and direct all questions to:
24
 
 
25
 
   rcs-bugs@cs.purdue.edu
26
 
 
27
 
 */
28
 
 
29
 
#include <time.h>
30
 
 
31
 
struct tm *time2tm (time_t, int);
32
 
time_t difftm (struct tm const *, struct tm const *);
33
 
time_t str2time (char const **, time_t, long);
34
 
time_t tm2time (struct tm *, int);
35
 
void adjzone (struct tm *, long);