diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-03-04 02:23:06 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-03-04 02:23:06 +0000 |
commit | 082faf240ec27a125674eed0782a50cbb2aed512 (patch) | |
tree | 6b420ad3f3bf3e54f80ef914e764488a0715da44 /gdb/defs.h | |
parent | e54a9244cd82c100032fb4443fb6e02d211f359f (diff) | |
download | gdb-082faf240ec27a125674eed0782a50cbb2aed512.zip gdb-082faf240ec27a125674eed0782a50cbb2aed512.tar.gz gdb-082faf240ec27a125674eed0782a50cbb2aed512.tar.bz2 |
Make mmalloc functions consistent. Some need ISO-C others need PTR :-(.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -341,7 +341,10 @@ extern int myread (int, char *, int); extern int query (char *, ...) ATTR_FORMAT (printf, 1, 2); #if !defined (USE_MMALLOC) -extern PTR mcalloc (void *, size_t, size_t); +/* NOTE: cagney/2000-03-04: The mmalloc functions need to use PTR + rather than void* so that they are consistent with + ../mmalloc/mmalloc.h. */ +extern PTR mcalloc (PTR, size_t, size_t); extern PTR mmalloc (PTR, size_t); extern PTR mrealloc (PTR, PTR, size_t); extern void mfree (PTR, PTR); |