diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Xrandr.c | 2 | ||||
-rw-r--r-- | src/Xrandrint.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/Xrandr.c b/src/Xrandr.c index 06dbe10..c923e0f 100644 --- a/src/Xrandr.c +++ b/src/Xrandr.c @@ -34,7 +34,7 @@ #include <X11/extensions/Xrender.h> #include "Xrandrint.h" -_X_HIDDEN XExtensionInfo XRRExtensionInfo; +static XExtensionInfo XRRExtensionInfo; _X_HIDDEN char XRRExtensionName[] = RANDR_NAME; static Bool XRRWireToEvent(Display *dpy, XEvent *event, xEvent *wire); diff --git a/src/Xrandrint.h b/src/Xrandrint.h index abcdf3f..75e38c9 100644 --- a/src/Xrandrint.h +++ b/src/Xrandrint.h @@ -35,8 +35,7 @@ #include <X11/extensions/randr.h> #include <X11/extensions/randrproto.h> -extern XExtensionInfo XrandrExtensionInfo; -extern char XrandrExtensionName[]; +extern char XRRExtensionName[]; #define RRCheckExtension(dpy,i,val) \ XextCheckExtension (dpy, i, XRRExtensionName, val) @@ -88,8 +87,6 @@ typedef struct _randrVersionState { int minor_version; } _XRRVersionState; -extern char XRRExtensionName[]; - Bool _XRRVersionHandler (Display *dpy, xReply *rep, |