altos: Switch const for __code in struct ao_cmds
authorKeith Packard <keithp@keithp.com>
Wed, 6 Jul 2011 22:45:04 +0000 (15:45 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 6 Jul 2011 22:48:34 +0000 (15:48 -0700)
This saves quite a bit of code space when accessing these values.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao.h

index dade99bf6b572cef9f5bbc9d48dc558df503faf7..bb3846118bcc4f6fe01630eaa7661b67cc8f6a33 100644 (file)
--- 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