egl: fix _eglMatchDriver() return type
[mesa.git] / src / egl / main / egldriver.h
index 52767c26c5249de889342fd7472ff79fd77b064f..0d0f50726b190c9ecb414ddc41e6e77b0951250d 100644 (file)
@@ -35,6 +35,7 @@
 #include "c99_compat.h"
 
 #include "egltypedefs.h"
+#include <stdbool.h>
 #include <stddef.h>
 
 
@@ -223,11 +224,7 @@ struct _egl_driver
 };
 
 
-extern void
-_eglInitDriver(_EGLDriver *driver);
-
-
-extern _EGLDriver *
+extern bool
 _eglMatchDriver(_EGLDisplay *disp);
 
 
@@ -235,10 +232,6 @@ extern __eglMustCastToProperFunctionPointerType
 _eglGetDriverProc(const char *procname);
 
 
-extern void
-_eglUnloadDrivers(void);
-
-
 extern void
 _eglSearchPathForEach(EGLBoolean (*callback)(const char *, size_t, void *),
                       void *callback_data);