summaryrefslogtreecommitdiffstatshomepage
path: root/xkbcat.c
diff options
context:
space:
mode:
authorGravatar Antti Korpi2020-03-22 21:20:35 +0100
committerGravatar Antti Korpi2020-03-22 21:20:35 +0100
commitaa06f437ee07f419942aeea8ee3b1357f9fe19e5 (patch)
treea81585e4125b6a3ee2c701cc2f9b616ce2933e9a /xkbcat.c
parentc148ef799742f6f09fced26cbf6ece5c93516b02 (diff)
downloadxkbcat-aa06f437ee07f419942aeea8ee3b1357f9fe19e5.tar.gz
xkbcat-aa06f437ee07f419942aeea8ee3b1357f9fe19e5.zip
Refactor: Avoid underscores in non-const var names
Diffstat (limited to 'xkbcat.c')
-rw-r--r--xkbcat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xkbcat.c b/xkbcat.c
index 5d01b37..d5b87e4 100644
--- a/xkbcat.c
+++ b/xkbcat.c
@@ -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)
{