Mercurial > hg > xemacs-beta
diff src/termcap.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 | 804517e16990 |
children | 16112448d484 |
line wrap: on
line diff
--- a/src/termcap.c Mon Sep 29 21:53:04 2003 +0000 +++ b/src/termcap.c Tue Sep 30 15:27:01 2003 +0000 @@ -411,7 +411,7 @@ /* Free old `term' if appropriate. */ if (term != name) - xfree (term); + xfree (term, const char *); /* If BP is malloc'd by us, make sure it is big enough. */ if (malloc_size) @@ -441,7 +441,7 @@ } retry_close (fd); - xfree (buf.beg); + xfree (buf.beg, char *); if (malloc_size) { @@ -651,7 +651,7 @@ printf ("\\%0o", *y); else putchar (*y); - xfree (x); + xfree (x, char *); } else printf ("none");