wayland: don't export internal functions.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 6 Aug 2012 16:32:17 +0000 (18:32 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 6 Aug 2012 16:56:21 +0000 (18:56 +0200)
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/wayland/va_wayland.c
va/wayland/va_wayland_drm.h
va/wayland/va_wayland_private.h

index 196ab51..af509bb 100644 (file)
@@ -24,8 +24,7 @@
  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#include <stdio.h>
-#include <stdlib.h>
+#include "sysdeps.h"
 #include <stdarg.h>
 #include "va_wayland.h"
 #include "va_wayland_drm.h"
index 01b89f4..0d06553 100644 (file)
@@ -41,6 +41,7 @@
  * @param[in]   pDisplayContext the VA display context
  * @return true if successful
  */
+DLL_HIDDEN
 bool
 va_wayland_drm_init(VADisplayContextP pDisplayContext);
 
index 0c3bfec..c55a7b4 100644 (file)
@@ -45,6 +45,7 @@ typedef struct _VADisplayContextWayland {
     VADisplayContextFinalizeFunc        finalize;
 } VADisplayContextWayland, *VADisplayContextWaylandP;
 
+DLL_HIDDEN
 void
 va_wayland_error(const char *format, ...);