Article View: gnu.gcc.help
Article #52651ANSI malloc: void * or char *
From: Richard Stallman
Date: Sun, 21 Jun 1992 12:33
Date: Sun, 21 Jun 1992 12:33
5 lines
831 bytes
831 bytes
ANSI C specifies that malloc and realloc return void *. Fixincludes is defined in version 2.2 to alter memory.h so that these functions will be declared to return void *. You should run fixincludes unless your headers support ANSI C properly.
Technical Details
Message-ID:
<9206212033.AA17383@mole.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!rmsReferences:
<1992Jun21.191334.5771@sol.cs.wmich.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,22b492cf22b362a5 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-06-21 08:43:36 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!rms From: rms@gnu.ai.mit.edu (Richard Stallman) Subject: ANSI malloc: void * or char * Message-ID: <9206212033.AA17383@mole.gnu.ai.mit.edu> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet References: <1992Jun21.191334.5771@sol.cs.wmich.edu> Distribution: gnu Date: Sun, 21 Jun 1992 12:33:47 GMT Lines: 6