diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-23 12:54:14 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-23 12:54:14 +0000 |
commit | 00e60d85d288769a6107666f38f6d247b2c24c70 (patch) | |
tree | d655765cd7354b05cabdd1903f6647afb48b3113 /include | |
parent | ba04ff722d21b953441f6ab0d1828db5a4598ce2 (diff) |
Sync w/ glibc
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/time.h b/include/time.h index 84e17f317..befb12637 100644 --- a/include/time.h +++ b/include/time.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1991-1999,2000,2001,2002,2003 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999,2000,2001,2002,2003,2006 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -113,6 +114,8 @@ typedef __timer_t timer_t; defined __need_timespec) # define __timespec_defined 1 +# include <bits/types.h> /* This defines __time_t for us. */ + /* POSIX.1b structure for a time value. This is like a `struct timeval' but has nanoseconds instead of microseconds. */ struct timespec @@ -341,7 +344,8 @@ extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __THROW; extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW; /* Set clock CLOCK_ID to value TP. */ -extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __THROW; +extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) + __THROW; #ifdef __UCLIBC_MJN3_ONLY__ #warning "mjn3 FIXME: a bunch of unimplemented function prototypes." |