diff options
| author | 2020-03-22 21:20:35 +0100 | |
|---|---|---|
| committer | 2020-03-22 21:20:35 +0100 | |
| commit | aa06f437ee07f419942aeea8ee3b1357f9fe19e5 (patch) | |
| tree | a81585e4125b6a3ee2c701cc2f9b616ce2933e9a /xkbcat.c | |
| parent | c148ef799742f6f09fced26cbf6ece5c93516b02 (diff) | |
| download | xkbcat-aa06f437ee07f419942aeea8ee3b1357f9fe19e5.tar.gz xkbcat-aa06f437ee07f419942aeea8ee3b1357f9fe19e5.zip | |
Refactor: Avoid underscores in non-const var names
Diffstat (limited to 'xkbcat.c')
| -rw-r--r-- | xkbcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -41,9 +41,9 @@ int main(int argc, char * argv[]) { } // Test for XInput 2 extension - int xi_opcode; + int xiOpcode; int queryEvent, queryError; - if (! XQueryExtension(disp, "XInputExtension", &xi_opcode, + if (! XQueryExtension(disp, "XInputExtension", &xiOpcode, &queryEvent, &queryError)) { // XXX Test version >=2 fprintf(stderr, "X Input extension not available\n"); return 1; @@ -68,7 +68,7 @@ int main(int argc, char * argv[]) { if (XGetEventData(disp, cookie) && cookie->type == GenericEvent && - cookie->extension == xi_opcode) + cookie->extension == xiOpcode) { switch (cookie->evtype) { |
