diff options
author | Julien Cristau <jcristau@debian.org> | 2008-02-05 15:35:30 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-02-05 15:50:20 +0100 |
commit | 23a47035818390ca197179a9a69a54badb370990 (patch) | |
tree | 5926b15685773d2c14ba05a51f6123853b40abc4 /src | |
parent | 732ae92882383b33384791c2e9136a54e0fd06f3 (diff) |
Hide some private symbols.
XExtensionInfo, XRRExtensionName, XRRFindDisplay, _XRRHasRates and
_XRRVersionHandler are internal to libXrandr. Don't export them.
Diffstat (limited to 'src')
-rw-r--r-- | src/Xrandr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Xrandr.c b/src/Xrandr.c index fdaa80d..b6068dc 100644 --- a/src/Xrandr.c +++ b/src/Xrandr.c @@ -36,8 +36,8 @@ #include <X11/extensions/Xrender.h> #include "Xrandrint.h" -XExtensionInfo XRRExtensionInfo; -char XRRExtensionName[] = RANDR_NAME; +_X_HIDDEN XExtensionInfo XRRExtensionInfo; +_X_HIDDEN char XRRExtensionName[] = RANDR_NAME; static Bool XRRWireToEvent(Display *dpy, XEvent *event, xEvent *wire); static Status XRREventToWire(Display *dpy, XEvent *event, xEvent *wire); @@ -210,7 +210,7 @@ static Status XRREventToWire(Display *dpy, XEvent *event, xEvent *wire) return False; } -XExtDisplayInfo * +_X_HIDDEN XExtDisplayInfo * XRRFindDisplay (Display *dpy) { XExtDisplayInfo *dpyinfo; @@ -285,7 +285,7 @@ Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep) } } -Bool +_X_HIDDEN Bool _XRRHasRates (int major, int minor) { return major > 1 || (major == 1 && minor >= 1); @@ -330,7 +330,7 @@ Status XRRQueryVersion (Display *dpy, return 1; } -Bool +_X_HIDDEN Bool _XRRVersionHandler (Display *dpy, xReply *rep, char *buf, |