ndk-busybox/libbb/single_argv.c
Denys Vlasenko e992bae6f9 *: remove a few more cases of argc usage. -89 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-28 15:18:53 +01:00

17 lines
294 B
C

/* vi: set sw=4 ts=4: */
/*
* Utility routines.
*
* Copyright (C) 2009 Denys Vlasenko
*
* Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
char* FAST_FUNC single_argv(char **argv)
{
if (!argv[1] || argv[2])
bb_show_usage();
return argv[1];
}