aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-02-25 02:14:14 +0000
committerBruce Evans <bde@FreeBSD.org>1998-02-25 02:14:14 +0000
commitfb156c95b6f21eb4392b0c9a82f80b59e22b0a1d (patch)
tree77477d7edb5fd7b8100bff71a6d384743d347e27 /sys
parentcfaa93b26babb1c15e48c4b243006f670f555203 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/time.h6
-rw-r--r--sys/sys/timetc.h6
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h
index 7fb835a52b5b3..c68eec15e2d34 100644
--- a/sys/sys/time.h
+++ b/sys/sys/time.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)time.h 8.5 (Berkeley) 5/4/95
- * $Id: time.h,v 1.17 1998/02/20 16:36:16 phk Exp $
+ * $Id: time.h,v 1.18 1998/02/21 03:20:46 jb Exp $
*/
#ifndef _SYS_TIME_H_
@@ -77,7 +77,6 @@ struct timezone {
#define DST_EET 5 /* Eastern European dst */
#define DST_CAN 6 /* Canada */
-#ifndef _POSIX_SOURCE
/*
* Structure used to interface to the machine dependent hardware
* support for timekeeping.
@@ -141,7 +140,6 @@ struct timecounter {
struct timecounter *other;
struct timecounter *tweak;
};
-#endif
/* Operations on timevals. */
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
@@ -220,7 +218,6 @@ void timevalsub __P((struct timeval *, struct timeval *));
#else /* !KERNEL */
#include <time.h>
-#ifndef _POSIX_SOURCE
#include <sys/cdefs.h>
__BEGIN_DECLS
@@ -231,7 +228,6 @@ int setitimer __P((int, const struct itimerval *, struct itimerval *));
int settimeofday __P((const struct timeval *, const struct timezone *));
int utimes __P((const char *, const struct timeval *));
__END_DECLS
-#endif /* !POSIX */
#endif /* !KERNEL */
diff --git a/sys/sys/timetc.h b/sys/sys/timetc.h
index 7fb835a52b5b3..c68eec15e2d34 100644
--- a/sys/sys/timetc.h
+++ b/sys/sys/timetc.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)time.h 8.5 (Berkeley) 5/4/95
- * $Id: time.h,v 1.17 1998/02/20 16:36:16 phk Exp $
+ * $Id: time.h,v 1.18 1998/02/21 03:20:46 jb Exp $
*/
#ifndef _SYS_TIME_H_
@@ -77,7 +77,6 @@ struct timezone {
#define DST_EET 5 /* Eastern European dst */
#define DST_CAN 6 /* Canada */
-#ifndef _POSIX_SOURCE
/*
* Structure used to interface to the machine dependent hardware
* support for timekeeping.
@@ -141,7 +140,6 @@ struct timecounter {
struct timecounter *other;
struct timecounter *tweak;
};
-#endif
/* Operations on timevals. */
#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
@@ -220,7 +218,6 @@ void timevalsub __P((struct timeval *, struct timeval *));
#else /* !KERNEL */
#include <time.h>
-#ifndef _POSIX_SOURCE
#include <sys/cdefs.h>
__BEGIN_DECLS
@@ -231,7 +228,6 @@ int setitimer __P((int, const struct itimerval *, struct itimerval *));
int settimeofday __P((const struct timeval *, const struct timezone *));
int utimes __P((const char *, const struct timeval *));
__END_DECLS
-#endif /* !POSIX */
#endif /* !KERNEL */