summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri_glx.c
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2007-04-08 14:40:03 -0400
committerAdam Jackson <[email protected]>2007-04-08 14:40:03 -0400
commitd8bfc42bb778e46e64569a6f621e9d41ddca2e59 (patch)
treefb655aa9824e56eb4466694f4bcd2633bbd54350 /src/glx/x11/dri_glx.c
parentca7885f7337141b50abd8f64d8773cabbf0256fe (diff)
Make sure GLX entrypoints are marked PUBLIC.
Fedora bug #229808.
Diffstat (limited to 'src/glx/x11/dri_glx.c')
-rw-r--r--src/glx/x11/dri_glx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index a8d9306b991..5cf9923979a 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -39,6 +39,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <X11/Xlibint.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
+#include "glheader.h"
#include "glxclient.h"
#include "xf86dri.h"
#include "sarea.h"
@@ -342,7 +343,7 @@ __DRIdriver *driGetDriver(Display *dpy, int scrNum)
* The returned char pointer points to a static array that will be
* overwritten by subsequent calls.
*/
-const char *glXGetScreenDriver (Display *dpy, int scrNum) {
+PUBLIC const char *glXGetScreenDriver (Display *dpy, int scrNum) {
static char ret[32];
char *driverName;
if (GetDriverName(dpy, scrNum, &driverName)) {
@@ -371,7 +372,7 @@ const char *glXGetScreenDriver (Display *dpy, int scrNum) {
*
* Note: The driver remains opened after this function returns.
*/
-const char *glXGetDriverConfig (const char *driverName) {
+PUBLIC const char *glXGetDriverConfig (const char *driverName) {
__DRIdriver *driver = OpenDriver (driverName);
if (driver)
return dlsym (driver->handle, "__driConfigOptions");