From f585cb29b827104b9ea04cb11e3e3087ef1684c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 8 Mar 2008 17:38:02 -0500 Subject: [PATCH] Make __glXCloseDisplay static instead of prototyping it to avoid warning. --- src/glx/x11/glxext.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 61352a6098e..632da2d84a7 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -265,14 +265,6 @@ __GLXcontext *__glXcurrentContext = &dummyContext; */ int __glXDebug = 0; -/* -** forward prototype declarations -*/ -int __glXCloseDisplay(Display *dpy, XExtCodes *codes); - - -/************************************************************************/ - /* Extension required boiler plate */ static char *__glXExtensionName = GLX_EXTENSION_NAME; @@ -294,7 +286,7 @@ static /* const */ char *error_list[] = { "GLXBadWindow", }; -int __glXCloseDisplay(Display *dpy, XExtCodes *codes) +static int __glXCloseDisplay(Display *dpy, XExtCodes *codes) { GLXContext gc; -- 2.30.2