FreeCalypso > hg > freecalypso-sw
changeset 15:d60806c703aa
use const to put things in .rodata
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 03 May 2013 07:00:12 +0000 |
parents | f0501c4a8790 |
children | 4c78fc688127 |
files | target-utils/helloapp/cmdtab.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/helloapp/cmdtab.c Fri May 03 06:52:36 2013 +0000 +++ b/target-utils/helloapp/cmdtab.c Fri May 03 07:00:12 2013 +0000 @@ -4,7 +4,7 @@ extern void cmd_r16(); extern void cmd_r32(); -struct cmdtab cmdtab[] = { +const struct cmdtab cmdtab[] = { {"r8", cmd_r8}, {"r16", cmd_r16}, {"r32", cmd_r32},