diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-10 11:03:40 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-10 11:03:40 -0800 |
commit | 9737af15196380a1687d18a17d297ee17b45a83f (patch) | |
tree | 555445d8fbb5e814a8e9afb4b9bba78886455aed /keycodes.c | |
parent | b67c058e2ccc27472b238a6b5dc5e4cd20f6d2bd (diff) | |
download | xorg-app-xkbcomp-9737af15196380a1687d18a17d297ee17b45a83f.tar.gz |
Remove register keyword from variable declarations
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'keycodes.c')
-rw-r--r-- | keycodes.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |