aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-01-18 22:47:38 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 12:02:25 +0100
commita8ed28234ab8f5bdedc18a60c37e7f427090e8b1 (patch)
tree499937e230fd59f5bf56dfed4f0133492f949c67
parente1f2a24f637cb1727667f68076fbe66fe9c1660e (diff)
downloadnx-libs-a8ed28234ab8f5bdedc18a60c37e7f427090e8b1.tar.gz
nx-libs-a8ed28234ab8f5bdedc18a60c37e7f427090e8b1.tar.bz2
nx-libs-a8ed28234ab8f5bdedc18a60c37e7f427090e8b1.zip
Xlib: remove register keywords
storage class specifier is deprecated and incompatible with C++17
-rw-r--r--nx-X11/lib/include/X11/Xlibint.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/nx-X11/lib/include/X11/Xlibint.h b/nx-X11/lib/include/X11/Xlibint.h
index d38c87ee3..ce20b9a3d 100644
--- a/nx-X11/lib/include/X11/Xlibint.h
+++ b/nx-X11/lib/include/X11/Xlibint.h
@@ -709,12 +709,12 @@ extern void _XFlushGCCache(Display *dpy, GC gc);
#define Data32(dpy, data, len) _XData32(dpy, (_Xconst long *)data, len)
extern int _XData32(
Display *dpy,
- register _Xconst long *data,
+ _Xconst long *data,
unsigned len
);
extern void _XRead32(
Display *dpy,
- register long *data,
+ long *data,
long len
);
#else
@@ -1415,10 +1415,10 @@ extern int _XF86LoadQueryLocaleFont(
);
extern void _XProcessWindowAttributes (
- register Display *dpy,
+ Display *dpy,
xChangeWindowAttributesReq *req,
- register unsigned long valuemask,
- register XSetWindowAttributes *attributes);
+ unsigned long valuemask,
+ XSetWindowAttributes *attributes);
extern int _XDefaultError(
Display *dpy,
@@ -1428,7 +1428,7 @@ extern int _XDefaultIOError(
Display *dpy);
extern void _XSetClipRectangles (
- register Display *dpy,
+ Display *dpy,
GC gc,
int clip_x_origin, int clip_y_origin,
XRectangle *rectangles,
@@ -1436,13 +1436,13 @@ extern void _XSetClipRectangles (
int ordering);
Status _XGetWindowAttributes(
- register Display *dpy,
+ Display *dpy,
Window w,
XWindowAttributes *attr);
int _XPutBackEvent (
- register Display *dpy,
- register XEvent *event);
+ Display *dpy,
+ XEvent *event);
extern Bool _XIsEventCookie(
Display *dpy,