From ba50a24053d6035d85acb0052827045116be8cbe Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 15 Apr 2014 18:39:39 +1000 Subject: Mark the key / command mapping structure constant. --- dumbsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumbsh.c b/dumbsh.c index 92ac46a..7975ebe 100644 --- a/dumbsh.c +++ b/dumbsh.c @@ -133,7 +133,7 @@ static void startOfLine() } // The key to command mappings, Emacs style. -static struct keyCommand simpleEmacsKeys[] = +static const struct keyCommand simpleEmacsKeys[] = { {"BS", backSpaceChar}, {"Del", deleteChar}, -- cgit v1.1