From 1965d749ea0c20a6efc5122d2a74112b31f4e03c Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 30 Nov 2011 18:56:10 -0500 Subject: [PATCH] libfreerdp-rail/window: Add static const to global tables. --- libfreerdp-rail/window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libfreerdp-rail/window.c b/libfreerdp-rail/window.c index 8199f32d6..c6a1039af 100644 --- a/libfreerdp-rail/window.c +++ b/libfreerdp-rail/window.c @@ -29,12 +29,12 @@ struct _WINDOW_STYLE { uint32 style; - char* name; + const char* name; boolean multi; }; typedef struct _WINDOW_STYLE WINDOW_STYLE; -WINDOW_STYLE WINDOW_STYLES[] = +static const WINDOW_STYLE WINDOW_STYLES[] = { { WS_BORDER, "WS_BORDER", false }, { WS_CAPTION, "WS_CAPTION", false }, @@ -61,7 +61,7 @@ WINDOW_STYLE WINDOW_STYLES[] = { WS_VISIBLE, "WS_VISIBLE", false } }; -WINDOW_STYLE EXTENDED_WINDOW_STYLES[] = +static const WINDOW_STYLE EXTENDED_WINDOW_STYLES[] = { { WS_EX_ACCEPTFILES, "WS_EX_ACCEPTFILES", false }, { WS_EX_APPWINDOW, "WS_EX_APPWINDOW", false },