summaryrefslogtreecommitdiff
path: root/src/XlibInt.c
diff options
context:
space:
mode:
authorMaya Rashish <maya@NetBSD.org>2020-08-23 21:19:33 +0300
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-08-28 20:28:18 +0000
commitdeafb99fd8faf8b044eaee13d072440ce4db76af (patch)
tree4f66c35fff7ad5b111e52a4d1f24cc134382f9c7 /src/XlibInt.c
parent505420662577749e36640db48f6b6b9ae0236e09 (diff)
downloadxorg-lib-libX11-deafb99fd8faf8b044eaee13d072440ce4db76af.tar.gz
Avoid the use of "register" keyword in public headers.
This causes issues when compiling code for C++17.
Diffstat (limited to 'src/XlibInt.c')
-rw-r--r--src/XlibInt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c
index 3f97d72e..6eb844e2 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -269,7 +269,7 @@ void _XSetSeqSyncFunction(Display *dpy)
#ifdef LONG64
void _XRead32(
Display *dpy,
- register long *data,
+ long *data,
long len)
{
register int *buf;
@@ -1648,7 +1648,7 @@ void Data(
int
_XData32(
Display *dpy,
- register _Xconst long *data,
+ _Xconst long *data,
unsigned len)
{
register int *buf;