summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-22 12:59:40 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-22 12:59:40 +0000
commita286d0d17227f9bc96ce23aacddae9bc9f266d20 (patch)
tree69957bbb5dd240011ba0de73aedfa7470e8529f0
parent70dd16c278dcc371e00dd7aed915ab3b233770f1 (diff)
downloadFreeBSD-src-a286d0d17227f9bc96ce23aacddae9bc9f266d20.zip
FreeBSD-src-a286d0d17227f9bc96ce23aacddae9bc9f266d20.tar.gz
Stylistic nit:
main()'s argv argument is char*[], and functions that may inherit that arg should use char*[] as well.
-rw-r--r--usr.bin/xargs/xargs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c
index 0922abf..8318182 100644
--- a/usr.bin/xargs/xargs.c
+++ b/usr.bin/xargs/xargs.c
@@ -69,8 +69,8 @@ __FBSDID("$FreeBSD$");
#include "pathnames.h"
-static void parse_input(int, char **);
-static void prerun(int, char **);
+static void parse_input(int, char *[]);
+static void prerun(int, char *[]);
static int prompt(void);
static void run(char **);
static void usage(void);
@@ -86,7 +86,7 @@ static int cnt, Iflag, jfound, Lflag, wasquoted, xflag;
extern char *environ[];
int
-main(int argc, char **argv)
+main(int argc, char *argv[])
{
long arg_max;
int ch, Jflag, nargs, nflag, nline;
@@ -238,7 +238,7 @@ main(int argc, char **argv)
}
static void
-parse_input(int argc, char **argv)
+parse_input(int argc, char *argv[])
{
int ch, foundeof;
char **avj;
@@ -387,7 +387,7 @@ addch: if (p < ebp) {
* and then call run().
*/
static void
-prerun(int argc, char **argv)
+prerun(int argc, char *argv[])
{
char **tmp, **tmp2, **avj;
int repls;
OpenPOWER on IntegriCloud