Mercurial > hg > xemacs-beta
comparison src/gmalloc.c @ 551:e9a3f8b4de53
[xemacs-hg @ 2001-05-21 05:26:06 by martinb]
realloc() handling on sunos4; remove lwlib-config kludge
author | martinb |
---|---|
date | Mon, 21 May 2001 05:26:51 +0000 |
parents | 3d3049ae1304 |
children | b39c14581166 |
comparison
equal
deleted
inserted
replaced
550:1638aacf421d | 551:e9a3f8b4de53 |
---|---|
94 | 94 |
95 /* XEmacs: I thought this should be int under SunOS, but that | 95 /* XEmacs: I thought this should be int under SunOS, but that |
96 apparently fails. Curses on all this shit. */ | 96 apparently fails. Curses on all this shit. */ |
97 #define __free_ret_t void | 97 #define __free_ret_t void |
98 | 98 |
99 #undef malloc | |
100 #undef realloc | |
101 #undef calloc | |
102 #undef free | |
99 /* XEmacs: I tried commenting these out and including stdlib.h, | 103 /* XEmacs: I tried commenting these out and including stdlib.h, |
100 but that fails badly. Urk! This sucks. */ | 104 but that fails badly. Urk! This sucks. */ |
101 /* Allocate SIZE bytes of memory. */ | 105 /* Allocate SIZE bytes of memory. */ |
102 extern __ptr_t malloc __P ((size_t __size)); | 106 extern __ptr_t malloc __P ((size_t __size)); |
103 /* Re-allocate the previously allocated block | 107 /* Re-allocate the previously allocated block |