[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/lib system.h,1.3,1.4 xmalloc.c,1.2,1.3
From: |
karl |
Subject: |
texinfo/lib system.h,1.3,1.4 xmalloc.c,1.2,1.3 |
Date: |
Fri, 19 Mar 2004 00:16:02 +0100 |
Update of /cvsroot/texinfo/texinfo/lib
In directory sheep:/tmp/cvs-serv32632
Modified Files:
system.h xmalloc.c
Log Message:
size_t
Index: system.h
===================================================================
RCS file: /cvsroot/texinfo/texinfo/lib/system.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** system.h 13 Mar 2004 15:52:47 -0000 1.3
--- system.h 18 Mar 2004 23:16:00 -0000 1.4
***************
*** 255,259 ****
/* Our library routines not included in any system library. */
! extern void *xmalloc (unsigned), *xrealloc (void *, unsigned);
extern char *xstrdup (const char *);
extern void xexit (int);
--- 255,259 ----
/* Our library routines not included in any system library. */
! extern void *xmalloc (size_t), *xrealloc (void *, size_t);
extern char *xstrdup (const char *);
extern void xexit (int);
Index: xmalloc.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/lib/xmalloc.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** xmalloc.c 19 Feb 2004 00:13:00 -0000 1.2
--- xmalloc.c 18 Mar 2004 23:16:00 -0000 1.3
***************
*** 21,29 ****
#if !defined (ALREADY_HAVE_XMALLOC)
! #include <stdio.h>
! #include <sys/types.h>
!
! extern void *malloc (), *realloc ();
! static void memory_error_and_abort ();
static void
--- 21,25 ----
#if !defined (ALREADY_HAVE_XMALLOC)
! #include "system.h"
static void
***************
*** 38,42 ****
print an error message and abort. */
void *
! xmalloc (unsigned bytes)
{
void *temp = malloc (bytes);
--- 34,38 ----
print an error message and abort. */
void *
! xmalloc (size_t bytes)
{
void *temp = malloc (bytes);
***************
*** 48,52 ****
void *
! xrealloc (void *pointer, unsigned bytes)
{
void *temp;
--- 44,48 ----
void *
! xrealloc (void *pointer, size_t bytes)
{
void *temp;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/lib system.h,1.3,1.4 xmalloc.c,1.2,1.3,
karl <=