diff options
author | Glenn Morris <rgm@gnu.org> | 2007-09-06 06:55:01 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-09-06 06:55:01 +0000 |
commit | db10177d9678e1ff63fbae6d764984f6ad1f1955 (patch) | |
tree | e0b94ac199a350b72594cbf00da191dffd3c266c /src/xselect.c | |
parent | 0dde5d5020923651e22bc12165d44df1087875b8 (diff) | |
download | emacs-db10177d9678e1ff63fbae6d764984f6ad1f1955.tar.gz |
(x_reply_selection_request) <cnt>: Move static variable to file scope.
Diffstat (limited to 'src/xselect.c')
-rw-r--r-- | src/xselect.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |