diff --git a/sys/sys/types.h b/sys/sys/types.h index 68dfcaf75cb4..12f128a33ab3 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -36,14 +36,15 @@ * SUCH DAMAGE. * * @(#)types.h 8.6 (Berkeley) 2/19/95 - * $Id: types.h,v 1.22 1997/12/31 01:22:01 alex Exp $ + * $Id: types.h,v 1.23 1998/01/08 00:27:34 alex Exp $ */ #ifndef _SYS_TYPES_H_ #define _SYS_TYPES_H_ +#include + /* Machine type dependent parameters. */ -#include /* XXX for __signed in machine/ansi.h */ #include #include @@ -99,6 +100,11 @@ typedef _BSD_CLOCK_T_ clock_t; #undef _BSD_CLOCK_T_ #endif +#ifdef _BSD_CLOCKID_T_ +typedef _BSD_CLOCKID_T_ clockid_t; +#undef _BSD_CLOCKID_T_ +#endif + #ifdef _BSD_SIZE_T_ typedef _BSD_SIZE_T_ size_t; #undef _BSD_SIZE_T_ @@ -114,11 +120,6 @@ typedef _BSD_TIME_T_ time_t; #undef _BSD_TIME_T_ #endif -#ifdef _BSD_CLOCKID_T_ -typedef _BSD_CLOCKID_T_ clockid_t; -#undef _BSD_CLOCKID_T_ -#endif - #ifdef _BSD_TIMER_T_ typedef _BSD_TIMER_T_ timer_t; #undef _BSD_TIMER_T_ @@ -175,7 +176,6 @@ typedef struct fd_set { * 64-bit off_t's. */ #ifndef KERNEL -#include __BEGIN_DECLS #ifndef _FTRUNCATE_DECLARED #define _FTRUNCATE_DECLARED @@ -196,21 +196,6 @@ int truncate __P((const char *, off_t)); __END_DECLS #endif /* !KERNEL */ -#if defined(__STDC__) && defined(KERNEL) -/* - * Forward structure declarations for function prototypes. We include the - * common structures that cross subsystem boundaries here; others are mostly - * used in the same place that the structure is defined. - */ -struct proc; -struct pgrp; -struct ucred; -struct rusage; -struct file; -struct buf; -struct tty; -struct uio; -#endif - #endif /* !_POSIX_SOURCE */ + #endif /* !_SYS_TYPES_H_ */