Deleted Added
full compact
time.h (177791) time.h (178429)
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)time.h 8.5 (Berkeley) 5/4/95
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)time.h 8.5 (Berkeley) 5/4/95
30 * $FreeBSD: head/sys/sys/time.h 177791 2008-03-31 12:14:04Z kib $
30 * $FreeBSD: head/sys/sys/time.h 178429 2008-04-22 19:38:30Z phk $
31 */
32
33#ifndef _SYS_TIME_H_
34#define _SYS_TIME_H_
35
36#include <sys/_timeval.h>
37#include <sys/types.h>
38#include <sys/timespec.h>

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

250#endif
251
252#ifndef TIMER_ABSTIME
253#define TIMER_RELTIME 0x0 /* relative timer */
254#define TIMER_ABSTIME 0x1 /* absolute timer */
255#endif
256
257#ifdef _KERNEL
31 */
32
33#ifndef _SYS_TIME_H_
34#define _SYS_TIME_H_
35
36#include <sys/_timeval.h>
37#include <sys/types.h>
38#include <sys/timespec.h>

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

250#endif
251
252#ifndef TIMER_ABSTIME
253#define TIMER_RELTIME 0x0 /* relative timer */
254#define TIMER_ABSTIME 0x1 /* absolute timer */
255#endif
256
257#ifdef _KERNEL
258
259/*
260 * Kernel to clock driver interface.
261 */
262void inittodr(time_t base);
263void resettodr(void);
264
258extern time_t time_second;
259extern time_t time_uptime;
260extern struct timeval boottime;
261
262/*
263 * Functions for looking at our clock: [get]{bin,nano,micro}[up]time()
264 *
265 * Functions without the "get" prefix returns the best timestamp

--- 64 unchanged lines hidden ---
265extern time_t time_second;
266extern time_t time_uptime;
267extern struct timeval boottime;
268
269/*
270 * Functions for looking at our clock: [get]{bin,nano,micro}[up]time()
271 *
272 * Functions without the "get" prefix returns the best timestamp

--- 64 unchanged lines hidden ---