Mercurial > emacs
changeset 109142:30e7117b54cd
* xterm.c (XTring_bell, XTset_terminal_window): Fix wrong prototype.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Mon, 05 Jul 2010 11:55:11 +0200 |
parents | fa173b9bd9ce |
children | a08a6559b47b |
files | src/ChangeLog src/xterm.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Jul 05 11:17:12 2010 +0200 +++ b/src/ChangeLog Mon Jul 05 11:55:11 2010 +0200 @@ -1,5 +1,7 @@ 2010-07-05 Jan Djärv <jan.h.d@swipnet.se> + * xterm.c (XTring_bell, XTset_terminal_window): Fix wrong prototype. + * xsmfns.c (SSDATA): New macro. (smc_save_yourself_CB, x_session_initialize): Use SSDATA for strings passed to strlen/strcpy/strcat.
--- a/src/xterm.c Mon Jul 05 11:17:12 2010 +0200 +++ b/src/xterm.c Mon Jul 05 11:55:11 2010 +0200 @@ -3103,10 +3103,8 @@ /* Make audible bell. */ void -XTring_bell (void) -{ - struct frame *f = SELECTED_FRAME (); - +XTring_bell (struct frame *f) +{ if (FRAME_X_DISPLAY (f)) { #if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT) @@ -3130,7 +3128,7 @@ that is bounded by calls to x_update_begin and x_update_end. */ static void -XTset_terminal_window (register int n) +XTset_terminal_window (struct frame *f, int n) { /* This function intentionally left blank. */ }