Changeset a000878c in mainline for kernel/generic/src/console/cmd.c


Ignore:
Timestamp:
2010-02-25T19:11:25Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
958de16
Parents:
a634485
Message:

make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/cmd.c

    ra634485 ra000878c  
    10331033        /* Execute the test */
    10341034        test_quiet = false;
    1035         char *ret = test->entry();
     1035        const char *ret = test->entry();
    10361036       
    10371037        /* Update and read thread accounting */
     
    10861086                /* Execute the test */
    10871087                test_quiet = true;
    1088                 char * ret = test->entry();
     1088                const char *ret = test->entry();
    10891089               
    10901090                /* Update and read thread accounting */
Note: See TracChangeset for help on using the changeset viewer.