diff src/xselect.c @ 84496:1f5d5f7ff8c2

(cnt): Rename to x_reply_selection_request_cnt for clarity. (x_reply_selection_request): All uses changed.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 Sep 2007 07:24:19 +0000
parents cb0b0301bace
children f7d19cfed7da bdb3fe0ba9fa
line wrap: on
line diff
--- a/src/xselect.c	Wed Sep 12 07:23:12 2007 +0000
+++ b/src/xselect.c	Wed Sep 12 07:24:19 2007 +0000
@@ -692,7 +692,7 @@
    FORMAT is the unit-size (in bits) of the data to be transmitted.  */
 
 #ifdef TRACE_SELECTION
-static int cnt;
+static int x_reply_selection_request_cnt;
 #endif  /* TRACE_SELECTION */
 
 static void
@@ -735,7 +735,7 @@
   {
     char *sel = XGetAtomName (display, reply.selection);
     char *tgt = XGetAtomName (display, reply.target);
-    TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt);
+    TRACE3 ("%s, target %s (%d)", sel, tgt, ++x_reply_selection_request_cnt);
     if (sel) XFree (sel);
     if (tgt) XFree (tgt);
   }