From a0c45b798d2fa810167d64a92093840178f993b1 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 21 Dec 2008 16:32:17 +0100 Subject: Fix thinkos * XRRExtensionInfo can be static * XRRExtensionName is not called XrandrExtensionName --- src/Xrandr.c | 2 +- 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 #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 #include -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, -- cgit v1.2.3