Mercurial > emacs
comparison lib-src/emacsclient.c @ 24169:fbd8d10e80bd
(xmalloc): Declare to return long.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 25 Jan 1999 01:34:34 +0000 |
parents | c0b0893dd5a6 |
children | bc45833cd3c7 |
comparison
equal
deleted
inserted
replaced
24168:8b9782bae564 | 24169:fbd8d10e80bd |
---|---|
146 return copy; | 146 return copy; |
147 } | 147 } |
148 | 148 |
149 /* Like malloc but get fatal error if memory is exhausted. */ | 149 /* Like malloc but get fatal error if memory is exhausted. */ |
150 | 150 |
151 char * | 151 long * |
152 xmalloc (size) | 152 xmalloc (size) |
153 unsigned int size; | 153 unsigned int size; |
154 { | 154 { |
155 char *result = (char *) malloc (size); | 155 char *result = (char *) malloc (size); |
156 if (result == NULL) | 156 if (result == NULL) |