summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-27 15:24:59 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-04-27 15:32:53 -0700
commit626f3daaec912273850f94de624930a7359ece59 (patch)
treef8d53c9de47057db3a4205d97e519a3d2951eef4
parenta5a3e02ff607f8526403368e999c2fb58ddbecfb (diff)
Declare DefineEntry tables of string to id mappings as constHEADmaster
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/app/xcmsdb/-/merge_requests/5>
-rw-r--r--loadData.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadData.c b/loadData.c
index 128fc9e..f6bd811 100644
--- a/loadData.c
+++ b/loadData.c
@@ -61,7 +61,7 @@
*
*/
-typedef struct _DefineEntry {
+typedef const struct _DefineEntry {
const char *pString;
int define;
} DefineEntry;