From 1fac38ee3238d5e4429f4a7250e160bc9db2c9f4 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 11 May 2015 23:43:45 +0100 Subject: [PATCH] egl/main: cleanup function prototypes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Cleanup the function propotypes which were part of the previous EGL drivers. Signed-off-by: Emil Velikov Reviewed-by: Marek Olšák Reviewed-by: Chad Versace --- src/egl/main/egldriver.c | 4 ---- src/egl/main/egldriver.h | 12 ++---------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 4cadbc75b8a..6ef79d96502 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -45,10 +45,6 @@ #include "egldriver.h" #include "egllog.h" -#ifdef _EGL_BUILT_IN_DRIVER_HAIKU -_EGLDriver* _eglBuiltInDriverHaiku(const char* args); -#endif - typedef struct _egl_module { char *Name; _EGLMain_t BuiltIn; diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index cd95cd305f8..1cf6628446b 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -91,20 +91,12 @@ struct _egl_driver }; -extern _EGLDriver * -_eglBuiltInDriverGALLIUM(const char *args); - - extern _EGLDriver * _eglBuiltInDriverDRI2(const char *args); -extern _EGLDriver * -_eglBuiltInDriverGLX(const char *args); - - -extern _EGLDriver * -_eglMain(const char *args); +extern _EGLDriver* +_eglBuiltInDriverHaiku(const char* args); extern _EGLDriver * -- 2.30.2