Mercurial > hg > xemacs-beta
diff src/elhash.c @ 1726:a8d8f419b459
[xemacs-hg @ 2003-09-30 15:26:34 by james]
Add type information to xfree to avoid alias creation.
author | james |
---|---|
date | Tue, 30 Sep 2003 15:27:01 +0000 |
parents | ac1be85b4a5f |
children | 04bc9d2f42c7 |
line wrap: on
line diff
--- a/src/elhash.c Mon Sep 29 21:53:04 2003 +0000 +++ b/src/elhash.c Tue Sep 30 15:27:01 2003 +0000 @@ -418,7 +418,7 @@ #endif if (!DUMPEDP (hentries)) - xfree (hentries); + xfree (hentries, htentry *); } static void @@ -1033,7 +1033,7 @@ memcpy (ht->hentries, new_entries, ht->size * sizeof (htentry)); - xfree (new_entries); + xfree (new_entries, htentry *); } static void @@ -1297,7 +1297,7 @@ maphash_unwind (Lisp_Object unwind_obj) { void *ptr = (void *) get_opaque_ptr (unwind_obj); - xfree (ptr); + xfree (ptr, void *); free_opaque_ptr (unwind_obj); return Qnil; }