mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
Make __glXCloseDisplay static instead of prototyping it to avoid warning.
This commit is contained in:
parent
47d563006d
commit
f585cb29b8
1 changed files with 1 additions and 9 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue