On Tue, Sep 20, 2011 at 11:23 AM, Doug Evans wrote:
>
> 2011-09-20 Doug Evans
>
> include/
> * libiberty.h (countargv): Declare.
>
> libiberty/
> * argv.c (countargv): New function.
> + for (argc = 0; argv[argc] != NULL; argc++);
Please write the semicolon on the
On Tue, Sep 20, 2011 at 11:23 AM, Doug Evans wrote:
> Hi.
>
> Part of the abstraction of an argv is a count of the number elements.
> This patch adds countargv which I have use for in gdb.
>
> Ok to check in?
>
> 2011-09-20 Doug Evans
>
> include/
> * libiberty.h (countargv): Decl