From: Glenn Morris Date: Thu, 6 Sep 2007 06:55:01 +0000 (+0000) Subject: (x_reply_selection_request) : Move static variable to file scope. X-Git-Tag: emacs-pretest-22.1.90~851 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5cb3987159778dcdc3a140c232a76c8c405f5ae8;p=emacs.git (x_reply_selection_request) : Move static variable to file scope. --- diff --git a/src/xselect.c b/src/xselect.c index fc3659faedd..43fdc9001ac 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -683,6 +683,10 @@ some_frame_on_display (dpyinfo) DATA and SIZE describe the data to send, already converted. FORMAT is the unit-size (in bits) of the data to be transmitted. */ +#ifdef TRACE_SELECTION +static int cnt; +#endif /* TRACE_SELECTION */ + static void x_reply_selection_request (event, format, data, size, type) struct input_event *event; @@ -721,7 +725,6 @@ x_reply_selection_request (event, format, data, size, type) #ifdef TRACE_SELECTION { - static int cnt; char *sel = XGetAtomName (display, reply.selection); char *tgt = XGetAtomName (display, reply.target); TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt);