diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-18 17:30:31 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-10-10 14:50:28 +0800 |
commit | 83413f405857293ae1acfc5a4293fbc38c8e4b5d (patch) | |
tree | 7bf0d2e19a7ad7ddb3345d4affa4fd0b9bd4d859 | |
parent | 7b4f485d4bacc00d32357a7e817abe3c14ce7b85 (diff) | |
download | libva-83413f405857293ae1acfc5a4293fbc38c8e4b5d.tar.gz |
va_x11: hide private symbols
The following are not part of the API thus should be hidden.
- dri2Close
- VA_FGLRXGetClientDriverName
- VA_NVCTRLQueryDirectRenderingCapable
- VA_NVCTRLGetClientDriverName
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit da462b3b26999edef7a9a5691feeec1a054ce9fd)
-rw-r--r-- | va/x11/dri2_util.c | 2 | ||||
-rw-r--r-- | va/x11/va_fglrx.c | 1 | ||||
-rw-r--r-- | va/x11/va_fglrx.h | 1 | ||||
-rw-r--r-- | va/x11/va_nvctrl.c | 1 | ||||
-rw-r--r-- | va/x11/va_nvctrl.h | 2 |
5 files changed, 6 insertions, 1 deletions
diff --git a/va/x11/dri2_util.c b/va/x11/dri2_util.c index 3d490d0..9e67e1a 100644 --- a/va/x11/dri2_util.c +++ b/va/x11/dri2_util.c @@ -161,7 +161,7 @@ dri2GetRenderingBuffer(VADriverContextP ctx, struct dri_drawable *dri_drawable) return &dri2_drawable->buffers[dri2_drawable->front_index]; } -void +static void dri2Close(VADriverContextP ctx) { struct dri_state *dri_state = (struct dri_state *)ctx->drm_state; diff --git a/va/x11/va_fglrx.c b/va/x11/va_fglrx.c index a437bce..025b1ab 100644 --- a/va/x11/va_fglrx.c +++ b/va/x11/va_fglrx.c @@ -22,6 +22,7 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include "sysdeps.h" #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/va/x11/va_fglrx.h b/va/x11/va_fglrx.h index 6616044..93ddd4b 100644 --- a/va/x11/va_fglrx.h +++ b/va/x11/va_fglrx.h @@ -27,6 +27,7 @@ #include <X11/Xlib.h> +DLL_HIDDEN Bool VA_FGLRXGetClientDriverName( Display *dpy, int screen, int *ddxDriverMajorVersion, int *ddxDriverMinorVersion, int *ddxDriverPatchVersion, char **clientDriverName ); diff --git a/va/x11/va_nvctrl.c b/va/x11/va_nvctrl.c index b14db47..20c63d5 100644 --- a/va/x11/va_nvctrl.c +++ b/va/x11/va_nvctrl.c @@ -22,6 +22,7 @@ */ #define _GNU_SOURCE 1 +#include "sysdeps.h" #include <string.h> #define NEED_REPLIES diff --git a/va/x11/va_nvctrl.h b/va/x11/va_nvctrl.h index c137b86..3617537 100644 --- a/va/x11/va_nvctrl.h +++ b/va/x11/va_nvctrl.h @@ -26,9 +26,11 @@ #include <X11/Xlib.h> +DLL_HIDDEN Bool VA_NVCTRLQueryDirectRenderingCapable( Display *dpy, int screen, Bool *isCapable ); +DLL_HIDDEN Bool VA_NVCTRLGetClientDriverName( Display *dpy, int screen, int *ddxDriverMajorVersion, int *ddxDriverMinorVersion, int *ddxDriverPatchVersion, char **clientDriverName ); |