From 764430a3e33cce7459cdd0f3cd2b3459bff6cd7f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 15 Apr 2011 19:45:59 -0700 Subject: [PATCH] * xfns.c, xterm.c (_XEditResCheckMessages): Protoize decl. --- src/ChangeLog | 2 ++ src/xfns.c | 2 +- src/xterm.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 693c8e42ce3..5211c8f99d2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-16 Paul Eggert + * xfns.c, xterm.c (_XEditResCheckMessages): Protoize decl. + * xdisp.c, dispextern.h (set_vertical_scroll_bar): Now extern if USE_TOOLKIT_SCROLL_BARS && !USE_GTK, as xterm.c needs it then. diff --git a/src/xfns.c b/src/xfns.c index 290b6161215..a276e42b6d5 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -105,7 +105,7 @@ along with GNU Emacs. If not, see . */ #if !defined(NO_EDITRES) #define HACK_EDITRES -extern void _XEditResCheckMessages (); +extern void _XEditResCheckMessages (Widget, XtPointer, XEvent *, Boolean *); #endif /* not defined NO_EDITRES */ /* Unique id counter for widgets created by the Lucid Widget Library. */ diff --git a/src/xterm.c b/src/xterm.c index bc847388756..75b66c7600e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -102,7 +102,7 @@ along with GNU Emacs. If not, see . */ #ifdef USE_X_TOOLKIT #if !defined(NO_EDITRES) #define HACK_EDITRES -extern void _XEditResCheckMessages (); +extern void _XEditResCheckMessages (Widget, XtPointer, XEvent *, Boolean *); #endif /* not NO_EDITRES */ /* Include toolkit specific headers for the scroll bar widget. */ -- 2.39.2