diff options
author | Maya Rashish <maya@NetBSD.org> | 2020-08-23 21:19:33 +0300 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2020-08-28 20:28:18 +0000 |
commit | deafb99fd8faf8b044eaee13d072440ce4db76af (patch) | |
tree | 4f66c35fff7ad5b111e52a4d1f24cc134382f9c7 /src/XlibInt.c | |
parent | 505420662577749e36640db48f6b6b9ae0236e09 (diff) | |
download | xorg-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.c | 4 |
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; |