Mercurial > hg > xemacs-beta
diff src/emacs.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 | 9fc738581a9d |
children | 7580e52a8218 |
line wrap: on
line diff
--- a/src/emacs.c Mon Sep 29 21:53:04 2003 +0000 +++ b/src/emacs.c Tue Sep 30 15:27:01 2003 +0000 @@ -522,7 +522,7 @@ full_exe_path = mswindows_get_module_file_name (); assert (full_exe_path); fullpath = build_tstr_string (full_exe_path); - xfree (full_exe_path); + xfree (full_exe_path, Extbyte *); result = Fcons (fullpath, result); } else @@ -570,10 +570,10 @@ while (argv[elt]) { - xfree (argv[elt]); + xfree (argv[elt], Extbyte *); elt++; } - xfree (argv); + xfree (argv, Extbyte **); } static void @@ -2599,9 +2599,9 @@ } memcpy (argv, new_argv, sizeof (char *) * argc); - xfree (new_argv); - xfree (options); - xfree (priority); + xfree (new_argv, char **); + xfree (options, int *); + xfree (priority, int *); } DEFUN ("running-temacs-p", Frunning_temacs_p, 0, 0, 0, /*