summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 11:03:40 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 11:03:40 -0800
commit9737af15196380a1687d18a17d297ee17b45a83f (patch)
tree555445d8fbb5e814a8e9afb4b9bba78886455aed /misc.c
parentb67c058e2ccc27472b238a6b5dc5e4cd20f6d2bd (diff)
downloadxorg-app-xkbcomp-9737af15196380a1687d18a17d297ee17b45a83f.tar.gz
Remove register keyword from variable declarations
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index 5faa6c1..498ec71 100644
--- a/misc.c
+++ b/misc.c
@@ -401,7 +401,7 @@ Status
ComputeKbdDefaults(XkbDescPtr xkb)
{
Status rtrn;
- register int i, tmp, nUnknown;
+ int i, tmp, nUnknown;
KeyNameDesc *name;
KeySym *syms;
char tmpname[XkbKeyNameLength + 1];
@@ -494,7 +494,7 @@ FindNamedKey(XkbDescPtr xkb,
unsigned int *kc_rtrn,
Bool use_aliases, Bool create, int start_from)
{
- register unsigned n;
+ unsigned n;
if (start_from < xkb->min_key_code)
{
@@ -565,7 +565,7 @@ Bool
FindKeyNameForAlias(XkbDescPtr xkb, unsigned long lname,
unsigned long *real_name)
{
- register int i;
+ int i;
char name[XkbKeyNameLength + 1];
if (xkb && xkb->geom && xkb->geom->key_aliases)