/[gnats]/gnats/libiberty/objalloc.c
ViewVC logotype

Diff of /gnats/libiberty/objalloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jsm, Tue Oct 26 07:10:16 1999 UTC revision 1.3 by pdm, Mon Dec 10 23:03:26 2001 UTC
# Line 18  Foundation, 59 Temple Place - Suite 330, Line 18  Foundation, 59 Temple Place - Suite 330,
18  Boston, MA 02111-1307, USA.  */  Boston, MA 02111-1307, USA.  */
19    
20  #include "ansidecl.h"  #include "ansidecl.h"
21    #include "config.h"
22    
23  #include "objalloc.h"  #include "objalloc.h"
24    
25  /* Get a definition for NULL.  */  /* Get a definition for NULL.  */
# Line 33  Boston, MA 02111-1307, USA.  */ Line 35  Boston, MA 02111-1307, USA.  */
35  #include <stddef.h>  #include <stddef.h>
36  #endif  #endif
37    
38    #ifdef HAVE_STDLIB_H
39    #include <stdlib.h>
40    #else
41  /* For systems with larger pointers than ints, this must be declared.  */  /* For systems with larger pointers than ints, this must be declared.  */
42  extern PTR malloc PARAMS ((size_t));  extern PTR malloc PARAMS ((size_t));
43  extern void free PARAMS ((PTR));  extern void free PARAMS ((PTR));
44  #endif  #endif
45    
46    #endif
47    
48  /* These routines allocate space for an object.  Freeing allocated  /* These routines allocate space for an object.  Freeing allocated
49     space may or may not free all more recently allocated space.     space may or may not free all more recently allocated space.
50    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26