summaryrefslogtreecommitdiff
path: root/apps/gperf/tests/test-4.exp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gperf/tests/test-4.exp')
-rw-r--r--apps/gperf/tests/test-4.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gperf/tests/test-4.exp b/apps/gperf/tests/test-4.exp
index d554d1c6729..124abb90585 100644
--- a/apps/gperf/tests/test-4.exp
+++ b/apps/gperf/tests/test-4.exp
@@ -2,7 +2,7 @@
/* Command-line: ../src/gperf -D -p -t */
/* Command-line: gperf -p -j1 -i 1 -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
#include <string.h>
-struct resword { char *name; short token; enum rid rid; };
+struct resword { const char *name; short token; enum rid rid; };
#define TOTAL_KEYWORDS 51
#define MIN_WORD_LENGTH 2