summaryrefslogtreecommitdiff
path: root/keycodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'keycodes.c')
-rw-r--r--keycodes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keycodes.c b/keycodes.c
index 4a8973c..d4b9b5c 100644
--- a/keycodes.c
+++ b/keycodes.c
@@ -307,7 +307,7 @@ InitKeyNamesInfo(KeyNamesInfo * info)
static int
FindKeyByLong(KeyNamesInfo * info, unsigned long name)
{
- register int i;
+ int i;
for (i = info->effectiveMin; i <= info->effectiveMax; i++)
{
@@ -435,7 +435,7 @@ static void
MergeIncludedKeycodes(KeyNamesInfo * into, KeyNamesInfo * from,
unsigned merge)
{
- register int i;
+ int i;
char buf[5];
if (from->errorCount > 0)
@@ -860,7 +860,7 @@ CompileKeycodes(XkbFile * file, XkbFileInfo * result, unsigned merge)
if (XkbAllocNames(xkb, XkbKeyNamesMask | XkbIndicatorNamesMask, 0, 0)
== Success)
{
- register int i;
+ int i;
xkb->names->keycodes = XkbInternAtom(xkb->dpy, info.name, False);
uDEBUG2(1, "key range: %d..%d\n", xkb->min_key_code,
xkb->max_key_code);
@@ -892,7 +892,7 @@ CompileKeycodes(XkbFile * file, XkbFileInfo * result, unsigned merge)
XkbAtomGetString(NULL, ii->name), False);
if (xkb->indicators != NULL)
{
- register unsigned bit;
+ unsigned bit;
bit = 1 << (ii->ndx - 1);
if (ii->virtual)
xkb->indicators->phys_indicators &= ~bit;