diff options
| author | Glenn Morris | 2007-09-06 06:54:10 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-06 06:54:10 +0000 |
| commit | 46d47e4105b370de773cba5006c035076aabde53 (patch) | |
| tree | 61ee01ea27c4bacb5932a13847229edfcc663733 /src | |
| parent | 0b0515bce0c16523ae5675a6ee2c4878ec47c2d8 (diff) | |
| download | emacs-46d47e4105b370de773cba5006c035076aabde53.tar.gz emacs-46d47e4105b370de773cba5006c035076aabde53.zip | |
(x_reply_selection_request) <cnt>: Move static variable to file scope.
Diffstat (limited to 'src')
| -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 b2d47bd1175..cd1ad05fe26 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -691,6 +691,10 @@ some_frame_on_display (dpyinfo) | |||
| 691 | DATA and SIZE describe the data to send, already converted. | 691 | DATA and SIZE describe the data to send, already converted. |
| 692 | FORMAT is the unit-size (in bits) of the data to be transmitted. */ | 692 | FORMAT is the unit-size (in bits) of the data to be transmitted. */ |
| 693 | 693 | ||
| 694 | #ifdef TRACE_SELECTION | ||
| 695 | static int cnt; | ||
| 696 | #endif /* TRACE_SELECTION */ | ||
| 697 | |||
| 694 | static void | 698 | static void |
| 695 | x_reply_selection_request (event, format, data, size, type) | 699 | x_reply_selection_request (event, format, data, size, type) |
| 696 | struct input_event *event; | 700 | struct input_event *event; |
| @@ -729,7 +733,6 @@ x_reply_selection_request (event, format, data, size, type) | |||
| 729 | 733 | ||
| 730 | #ifdef TRACE_SELECTION | 734 | #ifdef TRACE_SELECTION |
| 731 | { | 735 | { |
| 732 | static int cnt; | ||
| 733 | char *sel = XGetAtomName (display, reply.selection); | 736 | char *sel = XGetAtomName (display, reply.selection); |
| 734 | char *tgt = XGetAtomName (display, reply.target); | 737 | char *tgt = XGetAtomName (display, reply.target); |
| 735 | TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt); | 738 | TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt); |