emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lib-src/cvtmail.c


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lib-src/cvtmail.c
Date: Fri, 04 Apr 2003 01:21:35 -0500

Index: emacs/lib-src/cvtmail.c
diff -c emacs/lib-src/cvtmail.c:1.10 emacs/lib-src/cvtmail.c:1.11
*** emacs/lib-src/cvtmail.c:1.10        Sat Dec 29 17:18:45 2001
--- emacs/lib-src/cvtmail.c     Sat Feb 15 05:53:55 2003
***************
*** 40,50 ****
  #include <stdio.h>
  
  #ifndef HAVE_STDLIB_H
- char *malloc ();
- char *realloc ();
  char *getenv ();
- #else
- #include <stdlib.h>
  #endif
  
  char *xmalloc __P ((unsigned));
--- 40,46 ----
***************
*** 168,174 ****
  xmalloc (size)
       unsigned size;
  {
!   char *result = malloc (size);
    if (!result)
      fatal ("virtual memory exhausted", 0);
    return result;
--- 164,170 ----
  xmalloc (size)
       unsigned size;
  {
!   char *result = (char *) malloc (size);
    if (!result)
      fatal ("virtual memory exhausted", 0);
    return result;
***************
*** 179,185 ****
       char *ptr;
       unsigned size;
  {
!   char *result = realloc (ptr, size);
    if (!result)
      fatal ("virtual memory exhausted", 0);
    return result;
--- 175,181 ----
       char *ptr;
       unsigned size;
  {
!   char *result = (char *) realloc (ptr, size);
    if (!result)
      fatal ("virtual memory exhausted", 0);
    return result;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]