From b674a1d3b9790fc0e118c0dbcc0b39767a313361 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Fri, 29 Dec 2017 08:32:30 +0300 Subject: [PATCH] st/glx: constify some variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Just a nice hint for both peoples and compilers. Signed-off-by: Konstantin Kharlamov Signed-off-by: Marek Olšák --- src/gallium/state_trackers/glx/xlib/glx_getproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/state_trackers/glx/xlib/glx_getproc.c index 58b476341db..6b94f2c1960 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_getproc.c +++ b/src/gallium/state_trackers/glx/xlib/glx_getproc.c @@ -43,7 +43,7 @@ struct name_address_pair { }; -static struct name_address_pair GLX_functions[] = { +static const struct name_address_pair GLX_functions[] = { /*** GLX_VERSION_1_0 ***/ { "glXChooseVisual", (__GLXextFuncPtr) glXChooseVisual }, { "glXCopyContext", (__GLXextFuncPtr) glXCopyContext }, -- 2.30.2