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/builtins/cd/cd.c

    r3771a6e r43e02a6  
    6363        int argc, rc = 0;
    6464
    65         for (argc = 0; argv[argc] != NULL; argc ++);
     65        argc = cli_count_args(argv);
    6666
    6767        /* We don't yet play nice with whitespace, a getopt implementation should
Note: See TracChangeset for help on using the changeset viewer.