OSDN Git Service

glx: Hide private symbol va_glx_init_context
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 18 Sep 2014 16:30:30 +0000 (17:30 +0100)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 8 Oct 2014 08:10:52 +0000 (16:10 +0800)
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@gmail.com>
va/glx/va_glx.c
va/glx/va_glx_impl.c
va/glx/va_glx_impl.h

index e03847e..25ef005 100644 (file)
@@ -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"
index 1adb369..c066582 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #define _GNU_SOURCE 1
+#include "sysdeps.h"
 #include "va_glx_private.h"
 #include "va_glx_impl.h"
 #include <stdio.h>
index fbdcac2..c47f54a 100644 (file)
@@ -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 */