Changeset 3771a6e in mainline


Ignore:
Timestamp:
2008-08-28T13:07:15Z (16 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
43e02a6
Parents:
7b256b0b
Message:

long_options[] should be const where implemented

Location:
uspace/app/bdsh/cmds/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    r7b256b0b r3771a6e  
    4949static char *cat_oops = "That option is not yet supported\n";
    5050
    51 static struct option long_options[] = {
     51static struct option const long_options[] = {
    5252        { "help", no_argument, 0, 'h' },
    5353        { "version", no_argument, 0, 'v' },
  • uspace/app/bdsh/cmds/modules/mkdir/mkdir.c

    r7b256b0b r3771a6e  
    5050static char *cmdname = "mkdir";
    5151
    52 static struct option long_options[] = {
     52static struct option const long_options[] = {
    5353        {"parents", no_argument, 0, 'p'},
    5454        {"verbose", no_argument, 0, 'v'},
  • uspace/app/bdsh/cmds/modules/rm/rm.c

    r7b256b0b r3771a6e  
    4949static rm_job_t rm;
    5050
    51 static struct option long_options[] = {
     51static struct option const long_options[] = {
    5252        { "help", no_argument, 0, 'h' },
    5353        { "version", no_argument, 0, 'v' },
Note: See TracChangeset for help on using the changeset viewer.