mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
(x_reply_selection_request) <cnt>: Move static variable to file scope.
This commit is contained in:
parent
424aca2e28
commit
5cb3987159
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue