atom feed3 messages in org.freebsd.freebsd-bugsRe: misc/973: stdlib.h and size_t
FromSent OnAttachments
Tim SingletaryJan 27, 1996 12:01 pm 
Bruce EvansJan 27, 1996 2:19 pm 
J WunschJan 27, 1996 2:29 pm 
Subject:Re: misc/973: stdlib.h and size_t
From:Bruce Evans (bd@zeta.org.au)
Date:Jan 27, 1996 2:19:44 pm
List:org.freebsd.freebsd-bugs

The following reply was made to PR misc/973; it has been noted by GNATS.

From: Bruce Evans <bd@zeta.org.au> To: Free@FreeBSD.org, tsin@talon.gsfc.nasa.gov Cc: Subject: Re: misc/973: stdlib.h and size_t Date: Sun, 28 Jan 1996 08:59:44 +1100

Description:

stdlib.h references size_t, yet doesn't define this name. stdlib.h

No, size_t is declared on line 42 of stdlib.h if it isn't already declared.

Fix:

stdlib.h should #include sys/types.h

No, sys/types.h declares many other things that aren't supposed to be declared by stdlib.h.

Bruce