egl/main: cleanup function prototypes
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 May 2015 22:43:45 +0000 (23:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 May 2015 21:00:04 +0000 (21:00 +0000)
Cleanup the function propotypes which were part of the previous EGL
drivers.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/egl/main/egldriver.c
src/egl/main/egldriver.h

index 4cadbc75b8a21ea83074e2eafceffbe86f7963f3..6ef79d96502e85f31675289bf75abc946aca85d4 100644 (file)
 #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;
index cd95cd305f8a43060b2f4f7c7baeb3f238c1ce96..1cf6628446bdaa2b4b9b9240cb3555cfd1984980 100644 (file)
@@ -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 *