Mercurial > hg > xemacs-beta
comparison src/objects-tty.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 | a1e328407366 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
198 | 198 |
199 static void | 199 static void |
200 tty_finalize_color_instance (Lisp_Color_Instance *c) | 200 tty_finalize_color_instance (Lisp_Color_Instance *c) |
201 { | 201 { |
202 if (c->data) | 202 if (c->data) |
203 xfree (c->data); | 203 xfree (c->data, void *); |
204 } | 204 } |
205 | 205 |
206 static int | 206 static int |
207 tty_color_instance_equal (Lisp_Color_Instance *c1, | 207 tty_color_instance_equal (Lisp_Color_Instance *c1, |
208 Lisp_Color_Instance *c2, | 208 Lisp_Color_Instance *c2, |
285 | 285 |
286 static void | 286 static void |
287 tty_finalize_font_instance (Lisp_Font_Instance *f) | 287 tty_finalize_font_instance (Lisp_Font_Instance *f) |
288 { | 288 { |
289 if (f->data) | 289 if (f->data) |
290 xfree (f->data); | 290 xfree (f->data, void *); |
291 } | 291 } |
292 | 292 |
293 static Lisp_Object | 293 static Lisp_Object |
294 tty_list_fonts (Lisp_Object pattern, Lisp_Object device, Lisp_Object maxnumber) | 294 tty_list_fonts (Lisp_Object pattern, Lisp_Object device, Lisp_Object maxnumber) |
295 { | 295 { |