diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-06-07 13:28:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-06-07 13:28:37 +0000 |
commit | 52b3a2412b177e8f3acb56234bd98dc2810dc682 (patch) | |
tree | dec8fdf13124e5335012a0bc70ae64ec64a93b82 /xmalloc.c | |
parent | 354fa788cda62c39386d4282b99348256958093e (diff) | |
download | fetchmail-52b3a2412b177e8f3acb56234bd98dc2810dc682.tar.gz fetchmail-52b3a2412b177e8f3acb56234bd98dc2810dc682.tar.bz2 fetchmail-52b3a2412b177e8f3acb56234bd98dc2810dc682.zip |
xmalloc type cleanup.
svn path=/trunk/; revision=3636
Diffstat (limited to 'xmalloc.c')
-rw-r--r-- | xmalloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,6 +6,7 @@ */ #include "config.h" +#include <sys/types.h> #include <stdio.h> #include <errno.h> #include <string.h> @@ -22,7 +23,7 @@ #endif XMALLOCTYPE * -xmalloc (int n) +xmalloc (size_t n) { XMALLOCTYPE *p; @@ -36,7 +37,7 @@ xmalloc (int n) } XMALLOCTYPE * -xrealloc (XMALLOCTYPE *p, int n) +xrealloc (XMALLOCTYPE *p, size_t n) { if (p == 0) return xmalloc (n); |