diff options
-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 0a2ac45..9f0dc76 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 77149cb..058e23d 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 ); |