diff options
author | Julien Cristau <jcristau@debian.org> | 2008-12-21 16:32:17 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-12-23 17:13:00 +0100 |
commit | a0c45b798d2fa810167d64a92093840178f993b1 (patch) | |
tree | ca5ab4f707ef8a2dee33af3d2273f3669b862457 | |
parent | 8574ffb20fa10b6f2e9a5f115f23506b93c64b12 (diff) |
Fix thinkos
* XRRExtensionInfo can be static
* XRRExtensionName is not called XrandrExtensionName
-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, |