Mercurial > emacs
changeset 78743:4c7b6a25a97b
(x_reply_selection_request) <cnt>: Move static variable to file scope.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 06 Sep 2007 06:55:01 +0000 |
parents | 2da638bb2307 |
children | b342cac5976b |
files | src/xselect.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xselect.c Thu Sep 06 06:54:48 2007 +0000 +++ b/src/xselect.c Thu Sep 06 06:55:01 2007 +0000 @@ -683,6 +683,10 @@ 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 @@ #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);