From: Kristian Høgsberg Date: Sat, 8 Mar 2008 22:38:02 +0000 (-0500) Subject: Make __glXCloseDisplay static instead of prototyping it to avoid warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f585cb29b827104b9ea04cb11e3e3087ef1684c0;p=mesa.git Make __glXCloseDisplay static instead of prototyping it to avoid warning. --- 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;