aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2007-09-06 06:55:01 +0000
committerGlenn Morris2007-09-06 06:55:01 +0000
commit5cb3987159778dcdc3a140c232a76c8c405f5ae8 (patch)
tree688774c2da4f28f42ea464765febda5560253224 /src
parent424aca2e2880694219db23501f5b8883e520c6a8 (diff)
downloademacs-5cb3987159778dcdc3a140c232a76c8c405f5ae8.tar.gz
emacs-5cb3987159778dcdc3a140c232a76c8c405f5ae8.zip
(x_reply_selection_request) <cnt>: Move static variable to file scope.
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c5
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)
683 DATA and SIZE describe the data to send, already converted. 683 DATA and SIZE describe the data to send, already converted.
684 FORMAT is the unit-size (in bits) of the data to be transmitted. */ 684 FORMAT is the unit-size (in bits) of the data to be transmitted. */
685 685
686#ifdef TRACE_SELECTION
687static int cnt;
688#endif /* TRACE_SELECTION */
689
686static void 690static void
687x_reply_selection_request (event, format, data, size, type) 691x_reply_selection_request (event, format, data, size, type)
688 struct input_event *event; 692 struct input_event *event;
@@ -721,7 +725,6 @@ x_reply_selection_request (event, format, data, size, type)
721 725
722#ifdef TRACE_SELECTION 726#ifdef TRACE_SELECTION
723 { 727 {
724 static int cnt;
725 char *sel = XGetAtomName (display, reply.selection); 728 char *sel = XGetAtomName (display, reply.selection);
726 char *tgt = XGetAtomName (display, reply.target); 729 char *tgt = XGetAtomName (display, reply.target);
727 TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt); 730 TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt);