diff options
author | Kristian Høgsberg <krh@redhat.com> | 2008-03-08 17:38:02 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2008-03-08 17:38:02 -0500 |
commit | f585cb29b827104b9ea04cb11e3e3087ef1684c0 (patch) | |
tree | d9b128e9f83e350537706477ed0f6ad25bc20dd3 /src/glx | |
parent | 47d563006de646b039c456ffc8379ca8ded3d5a5 (diff) |
Make __glXCloseDisplay static instead of prototyping it to avoid warning.
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/x11/glxext.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 61352a6098..632da2d84a 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; |