From: Jan D Date: Mon, 5 Jul 2010 09:55:11 +0000 (+0200) Subject: * xterm.c (XTring_bell, XTset_terminal_window): Fix wrong prototype. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~81^2~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff919460978866c8a3be6b16a4bc2e7cee089354;p=emacs.git * xterm.c (XTring_bell, XTset_terminal_window): Fix wrong prototype. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0b23f0c4426..8c95c3c3206 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2010-07-05 Jan Djärv + * 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. diff --git a/src/xterm.c b/src/xterm.c index da7763ca48c..6d24324cc5a 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3103,10 +3103,8 @@ XTtoggle_invisible_pointer (FRAME_PTR f, int invisible) /* Make audible bell. */ void -XTring_bell (void) +XTring_bell (struct frame *f) { - struct frame *f = SELECTED_FRAME (); - if (FRAME_X_DISPLAY (f)) { #if defined (HAVE_TIMEVAL) && defined (HAVE_SELECT) @@ -3130,7 +3128,7 @@ XTring_bell (void) 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. */ }