Changeset 43e02a6 in mainline for uspace/app/bdsh/cmds/modules/ls/ls.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/ls/ls.c

    r3771a6e r43e02a6  
    153153        DIR *dirp;
    154154
    155         /* Count the arguments */
    156         for (argc = 0; argv[argc] != NULL; argc ++);
     155        argc = cli_count_args(argv);
    157156
    158157        buff = (char *) malloc(PATH_MAX);
Note: See TracChangeset for help on using the changeset viewer.