summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-06 15:10:42 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-06 15:52:47 -0600
commit47ddcd2a7144ea456fcd52b9470e4e41b878af48 (patch)
tree0bf2f3784e2bb249b3488bba12ec2e679bd7b2c7 /src
parentf6e030f531f7292a373a7cd633e8af9f97726266 (diff)
egl: make _eglChooseDRMDriver() non-static
Diffstat (limited to 'src')
-rw-r--r--src/egl/main/egldriver.c4
-rw-r--r--src/egl/main/egldriver.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 80fa49b7ab..92c529911c 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -39,7 +39,7 @@ static const char *SysFS = "/sys/class";
/**
* Given a card number, use sysfs to determine the DRI driver name.
*/
-static const char *
+const char *
_eglChooseDRMDriver(int card)
{
#if 0
@@ -214,7 +214,7 @@ _eglCloseDriver(_EGLDriver *drv, EGLDisplay dpy)
void *handle = drv->LibHandle;
EGLBoolean b;
- _eglLog(_EGL_INFO, "Closing driver");
+ _eglLog(_EGL_DEBUG, "Closing %s", drv->Name);
/*
* XXX check for currently bound context/surfaces and delete them?
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index af028eaf22..1eae6f8034 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -46,6 +46,9 @@ extern _EGLDriver *_eglMain(_EGLDisplay *dpy, const char *args);
extern const char *
+_eglChooseDRMDriver(int card);
+
+extern const char *
_eglChooseDriver(_EGLDisplay *dpy);