[Mesa-dev] [PATCH mesa 2/2] egl: unexport _eglConvertIntsToAttribs
Eric Engestrom
eric at engestrom.ch
Thu Dec 8 00:36:03 UTC 2016
Nobody else makes use of this function.
We can always re-export it if someone ever needs it.
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
src/egl/main/eglapi.c | 2 +-
src/egl/main/eglapi.h | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 925e881..1716ffa 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -288,7 +288,7 @@ _eglSetFuncName(const char *funcName, _EGLDisplay *disp, EGLenum objectType, _EG
* Return an EGL error code. The output parameter out_attrib_list is modified
* only on success.
*/
-EGLint
+static EGLint
_eglConvertIntsToAttribs(const EGLint *int_list, EGLAttrib **out_attrib_list)
{
size_t len = 0;
diff --git a/src/egl/main/eglapi.h b/src/egl/main/eglapi.h
index 2dc89fc..710c5d8 100644
--- a/src/egl/main/eglapi.h
+++ b/src/egl/main/eglapi.h
@@ -200,9 +200,6 @@ struct _egl_api
struct mesa_glinterop_export_out *out);
};
-EGLint _eglConvertIntsToAttribs(const EGLint *int_list,
- EGLAttrib **out_attrib_list);
-
#ifdef __cplusplus
}
#endif
--
Cheers,
Eric
More information about the mesa-dev
mailing list