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/cat/cat.c

    r3771a6e r43e02a6  
    139139        int c, opt_ind;
    140140
    141         for (argc = 0; argv[argc] != NULL; argc ++);
     141        argc = cli_count_args(argv);
    142142
    143143        for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
Note: See TracChangeset for help on using the changeset viewer.