egl: hide entrypoints that shouldn't be exported when using glvnd

From GLVND author:
> From a functional standpoint, exporting additional symbols doesn't
> really matter, since libglvnd will load the vendor libraries with
> RTLD_LOCAL.

Suggested-by: Kyle Brenneman <kbrenneman@nvidia.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Kyle Brenneman <kbrenneman@nvidia.com>
This commit is contained in:
Eric Engestrom
2018-11-15 18:07:33 +00:00
committed by Eric Engestrom
parent fea0caea2b
commit 8d9c2044a4

View File

@@ -83,6 +83,12 @@
*/
#ifdef USE_LIBGLVND
#define EGLAPI
#undef PUBLIC
#define PUBLIC
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>