Changed typedef structure to use const keyword to reduce RAM overhead.

This commit is contained in:
skarg
2016-06-29 20:27:39 +00:00
parent 80a720b431
commit 3465c43a6a
+2 -2
View File
@@ -29,8 +29,8 @@
#include <string.h> #include <string.h>
/* index and text pairs */ /* index and text pairs */
typedef struct { const typedef struct {
unsigned index; /* index number that matches the text */ const unsigned index; /* index number that matches the text */
const char *pString; /* text pair - use NULL to end the list */ const char *pString; /* text pair - use NULL to end the list */
} INDTEXT_DATA; } INDTEXT_DATA;