diff options
| author | kleink <kleink@NetBSD.org> | 2000-06-26 15:52:36 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2000-06-26 15:52:36 +0000 |
| commit | 9a0205287dc9e0886a8d09684bca0f4e6d2353d2 (patch) | |
| tree | 8992be10b48379e4bfdf87289a1a3c3f8d06cb75 /include | |
| parent | 3e2cc418c97bc3b5090d9732e37f4cf4ea957ca2 (diff) | |
Get rid of the inclusion of <sys/types.h> and define fpos_t using __off_t.
Diffstat (limited to 'include')
| -rw-r--r-- | include/stdio.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/stdio.h b/include/stdio.h index 136d97d09e1..57b7f0d79d0 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdio.h,v 1.32 2000/01/10 16:58:38 kleink Exp $ */ +/* $NetBSD: stdio.h,v 1.33 2000/06/26 15:52:36 kleink Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,9 +41,7 @@ #ifndef _STDIO_H_ #define _STDIO_H_ -#if !defined(_ANSI_SOURCE) && !defined(__STRICT_ANSI__) -#include <sys/types.h> -#endif +#include <sys/ansi.h> #include <sys/cdefs.h> #include <sys/featuretest.h> @@ -62,10 +60,10 @@ typedef _BSD_SIZE_T_ size_t; * which we assume is exactly as big as eight chars. */ #if !defined(_ANSI_SOURCE) && !defined(__STRICT_ANSI__) -typedef off_t fpos_t; +typedef __off_t fpos_t; #else typedef struct __sfpos { - long long _pos; /* XXX must be the same as off_t */ + __off_t _pos; } fpos_t; #endif |
