Deleted Added
full compact
time.h (85636) time.h (89572)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 25 unchanged lines hidden (view full) ---

34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)time.h 8.3 (Berkeley) 1/21/94
39 */
40
41/*
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 25 unchanged lines hidden (view full) ---

34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)time.h 8.3 (Berkeley) 1/21/94
39 */
40
41/*
42 * $FreeBSD: head/include/time.h 85636 2001-10-28 20:13:16Z dillon $
42 * $FreeBSD: head/include/time.h 89572 2002-01-19 23:20:02Z dillon $
43 */
44
45#ifndef _TIME_H_
46#define _TIME_H_
47
48#include <machine/ansi.h>
49#include <sys/_posix.h>
50

--- 80 unchanged lines hidden (view full) ---

131double difftime __P((time_t, time_t));
132struct tm *gmtime __P((const time_t *));
133struct tm *localtime __P((const time_t *));
134time_t mktime __P((struct tm *));
135size_t strftime __P((char *, size_t, const char *, const struct tm *));
136time_t time __P((time_t *));
137
138#ifndef _ANSI_SOURCE
43 */
44
45#ifndef _TIME_H_
46#define _TIME_H_
47
48#include <machine/ansi.h>
49#include <sys/_posix.h>
50

--- 80 unchanged lines hidden (view full) ---

131double difftime __P((time_t, time_t));
132struct tm *gmtime __P((const time_t *));
133struct tm *localtime __P((const time_t *));
134time_t mktime __P((struct tm *));
135size_t strftime __P((char *, size_t, const char *, const struct tm *));
136time_t time __P((time_t *));
137
138#ifndef _ANSI_SOURCE
139time_t time32_to_time __P((__int32_t t32));
140__int32_t time_to_time32 __P((time_t t));
141time_t time64_to_time __P((__int64_t t64));
142__int64_t time_to_time64 __P((time_t t));
143long time_to_long __P((time_t t));
144time_t long_to_time __P((long tlong));
145int time_to_int __P((time_t t));
146time_t int_to_time __P((int tint));
139time_t _time32_to_time __P((__int32_t t32));
140__int32_t _time_to_time32 __P((time_t t));
141time_t _time64_to_time __P((__int64_t t64));
142__int64_t _time_to_time64 __P((time_t t));
143long _time_to_long __P((time_t t));
144time_t _long_to_time __P((long tlong));
145int _time_to_int __P((time_t t));
146time_t _int_to_time __P((int tint));
147#endif /* not ANSI */
148
149#ifndef _ANSI_SOURCE
150void tzset __P((void));
151#endif /* not ANSI */
152
153#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
154char *asctime_r __P((const struct tm *, char *));

--- 20 unchanged lines hidden ---
147#endif /* not ANSI */
148
149#ifndef _ANSI_SOURCE
150void tzset __P((void));
151#endif /* not ANSI */
152
153#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
154char *asctime_r __P((const struct tm *, char *));

--- 20 unchanged lines hidden ---