Changeset 43e02a6 in mainline for uspace/app/bdsh/cmds/modules/rm/rm.c


Ignore:
Timestamp:
2008-08-29T11:07:22Z (16 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c4f46a
Parents:
3771a6e
Message:

Just make cli_count_args() a function

File:
1 edited

Legend:

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

    r3771a6e r43e02a6  
    174174        char *buff = NULL;
    175175
    176         for (argc = 0; argv[argc] != NULL; argc ++);
     176        argc = cli_count_args(argv);
     177
    177178        if (argc < 2) {
    178179                cli_error(CL_EFAIL,
Note: See TracChangeset for help on using the changeset viewer.