summaryrefslogtreecommitdiffstats
path: root/src/glx/x11
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-03-08 17:38:02 -0500
committerKristian Høgsberg <[email protected]>2008-03-08 17:38:02 -0500
commitf585cb29b827104b9ea04cb11e3e3087ef1684c0 (patch)
treed9b128e9f83e350537706477ed0f6ad25bc20dd3 /src/glx/x11
parent47d563006de646b039c456ffc8379ca8ded3d5a5 (diff)
Make __glXCloseDisplay static instead of prototyping it to avoid warning.
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/glxext.c10
1 files changed, 1 insertions, 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;