[Libva] [PATCH 5/7] glx: Hide private symbol va_glx_init_context
Emil Velikov
emil.l.velikov at gmail.com
Thu Sep 18 09:30:30 PDT 2014
There is a note below the symbol ATTRIBUTE_HIDDEN,
additionally the header providing it is not installed.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
va/glx/va_glx.c | 1 +
va/glx/va_glx_impl.c | 1 +
va/glx/va_glx_impl.h | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/va/glx/va_glx.c b/va/glx/va_glx.c
index e03847e..25ef005 100644
--- a/va/glx/va_glx.c
+++ b/va/glx/va_glx.c
@@ -22,6 +22,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#include "sysdeps.h"
#include <stdlib.h>
#include "va_glx_private.h"
#include "va_glx_impl.h"
diff --git a/va/glx/va_glx_impl.c b/va/glx/va_glx_impl.c
index 1adb369..c066582 100644
--- a/va/glx/va_glx_impl.c
+++ b/va/glx/va_glx_impl.c
@@ -23,6 +23,7 @@
*/
#define _GNU_SOURCE 1
+#include "sysdeps.h"
#include "va_glx_private.h"
#include "va_glx_impl.h"
#include <stdio.h>
diff --git a/va/glx/va_glx_impl.h b/va/glx/va_glx_impl.h
index fbdcac2..c47f54a 100644
--- a/va/glx/va_glx_impl.h
+++ b/va/glx/va_glx_impl.h
@@ -31,7 +31,7 @@
* @param[in] ctx the VA driver context
* @return VA_STATUS_SUCCESS if successful
*/
+DLL_HIDDEN
VAStatus va_glx_init_context(VADriverContextP ctx);
- /* ATTRIBUTE_HIDDEN; */
#endif /* VA_GLX_IMPL_H */
--
2.1.0
More information about the Libva
mailing list