diff options
author | obrien <obrien@FreeBSD.org> | 2001-05-18 01:43:25 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-05-18 01:43:25 +0000 |
commit | b8425680b5070beb3b2a5ebb23e322eebebdebe5 (patch) | |
tree | 3b7a91dfec40788a1da9229544984049dcb7069d /sys/powerpc | |
parent | f536c9bfce83ebc10fe2142bfef8b7a1c8e56cda (diff) | |
download | FreeBSD-src-b8425680b5070beb3b2a5ebb23e322eebebdebe5.zip FreeBSD-src-b8425680b5070beb3b2a5ebb23e322eebebdebe5.tar.gz |
Make _BSD_TIME_T_ (time_t) an `int' rather than `long'. This will help
flag errors where programmers assume time_t is a long, which it is not on
64-bit platforms.
Submitted by: bde
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/ansi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/ansi.h b/sys/powerpc/include/ansi.h index 93f53f0..a2e3198 100644 --- a/sys/powerpc/include/ansi.h +++ b/sys/powerpc/include/ansi.h @@ -54,7 +54,7 @@ #define _BSD_SIZE_T_ unsigned int /* sizeof() */ #define _BSD_SOCKLEN_T_ __uint32_t /* socklen_t (duh) */ #define _BSD_SSIZE_T_ long /* byte count or error */ -#define _BSD_TIME_T_ long /* time() */ +#define _BSD_TIME_T_ int /* time() */ #define _BSD_TIMER_T_ int /* timer_t */ #define _BSD_WCHAR_T_ _BSD_CT_RUNE_T_ /* wchar_t (see below) */ #define _BSD_WINT_T_ _BSD_CT_RUNE_T_ /* wint_t (see below) */ |