From f5e55301ca8fc68e96d296b27bc431d8b9bb7a01 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Sun, 24 Feb 1991 22:17:23 -0800 Subject: [PATCH] include sys/types.h, no longer need to typedef size_t typo in RAND_MAX define SCCS-vsn: include/stdlib.h 5.10 --- usr/src/include/stdlib.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/usr/src/include/stdlib.h b/usr/src/include/stdlib.h index cf62cf23b3..d833c7234f 100644 --- a/usr/src/include/stdlib.h +++ b/usr/src/include/stdlib.h @@ -4,17 +4,12 @@ * * %sccs.include.redist.c% * - * @(#)stdlib.h 5.9 (Berkeley) %G% + * @(#)stdlib.h 5.10 (Berkeley) %G% */ #ifndef _STDLIB_H_ #define _STDLIB_H_ -#include - -#ifdef _SIZE_T_ -typedef _SIZE_T_ size_t; -#undef _SIZE_T_ -#endif +#include #ifdef _WCHAR_T_ typedef _WCHAR_T_ wchar_t; @@ -33,7 +28,7 @@ typedef struct { #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 -#define RAND_MAX 0x7ffffffff +#define RAND_MAX 0x7fffffff #define MB_CUR_MAX 1 /* XXX */ -- 2.20.1