From: Keith Packard Date: Wed, 6 Jul 2011 22:45:04 +0000 (-0700) Subject: altos: Switch const for __code in struct ao_cmds X-Git-Tag: 0.9.4.3~13 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=2ec986f08ce8d4635f4435bb0042b405d93edc40 altos: Switch const for __code in struct ao_cmds This saves quite a bit of code space when accessing these values. Signed-off-by: Keith Packard --- diff --git a/src/ao.h b/src/ao.h index dade99bf..bb384611 100644 --- a/src/ao.h +++ b/src/ao.h @@ -395,7 +395,7 @@ ao_match_word(__code char *word); struct ao_cmds { void (*func)(void); - const char *help; + __code char *help; }; void