Mercurial > emacs
diff src/xterm.c @ 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 | aec1143e8d85 |
children | a08a6559b47b |
line wrap: on
line diff
--- 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. */ }