egl_dri2: Export dri2_get_driver_for_fd
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Fri, 4 Feb 2011 11:38:58 +0000 (12:38 +0100)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Mon, 7 Feb 2011 13:01:31 +0000 (14:01 +0100)
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_drm.c

index 2212404cc042e0d0bba61a1433b9e6fa2832edcd..f65319d2e9cd905cc69fbfdceea27e04b8bef804 100644 (file)
@@ -136,4 +136,7 @@ dri2_initialize_x11(_EGLDriver *drv, _EGLDisplay *disp);
 EGLBoolean
 dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp);
 
+char *
+dri2_get_driver_for_fd(int fd);
+
 #endif /* EGL_DRI2_INCLUDED */
index 12ab1e0c4c1860df63d44d87ae7143d120a028b7..431bfa0fcc69ea0aa0be4c32852b9182ccfdefe3 100644 (file)
@@ -567,7 +567,7 @@ const struct dri2_driver_map driver_map[] = {
    { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
 };
 
-static char *
+char *
 dri2_get_driver_for_fd(int fd)
 {
    struct udev *udev;