diff options
author | Maya Rashish <maya@NetBSD.org> | 2020-08-15 00:48:56 +0300 |
---|---|---|
committer | Maya Rashish <maya@NetBSD.org> | 2020-08-15 00:48:56 +0300 |
commit | 6dd618e5ea8e7558dd8e99a2777ab7b69211789c (patch) | |
tree | ac5c121c2973828f309a5045eb1f3e7dba150d3d /include | |
parent | 780d222343098b4bfe3ec529b4a0dc2aadea19bf (diff) |
Avoid the use of "register" keyword in XkbTranslateKeySym.
This causes issues when compiling code for C++17.
While here, make function prototype match the header with regards
to removal of another register keyword.
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/XKBlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/X11/XKBlib.h b/include/X11/XKBlib.h index 8f6c72c1..dd532b22 100644 --- a/include/X11/XKBlib.h +++ b/include/X11/XKBlib.h @@ -396,7 +396,7 @@ extern Bool XkbTranslateKeyCode( extern int XkbTranslateKeySym( Display * /* dpy */, - register KeySym * /* sym_return */, + KeySym * /* sym_return */, unsigned int /* modifiers */, char * /* buffer */, int /* nbytes */, |