Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/batch/batch.c

    r5a6cc679 reb748a0  
    3232#include <stddef.h>
    3333#include <errno.h>
     34#include <str.h>
    3435#include "config.h"
    3536#include "util.h"
     
    7374
    7475        /* Count the arguments */
    75         for (argc = 0; argv[argc] != NULL; argc ++);
     76        argc = 0;
     77        while (argv[argc] != NULL)
     78                argc++;
    7679
    7780        if (argc < 2) {
Note: See TracChangeset for help on using the changeset viewer.