Changed typedef structure to use const keyword to reduce RAM overhead.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user