Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/stat Don't pass unused argument. From Doug Barton.
details: https://anonhg.NetBSD.org/src/rev/01d8f4214140
branches: trunk
changeset: 759751:01d8f4214140
user: dholland <dholland%NetBSD.org@localhost>
date: Thu Dec 16 05:42:14 2010 +0000
description:
Don't pass unused argument. From Doug Barton.
diffstat:
usr.bin/stat/stat.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r df2d2179b78f -r 01d8f4214140 usr.bin/stat/stat.c
--- a/usr.bin/stat/stat.c Thu Dec 16 05:30:16 2010 +0000
+++ b/usr.bin/stat/stat.c Thu Dec 16 05:42:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stat.c,v 1.31 2010/12/16 05:30:16 dholland Exp $ */
+/* $NetBSD: stat.c,v 1.32 2010/12/16 05:42:14 dholland Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: stat.c,v 1.31 2010/12/16 05:30:16 dholland Exp $");
+__RCSID("$NetBSD: stat.c,v 1.32 2010/12/16 05:42:14 dholland Exp $");
#endif
#if ! HAVE_NBTOOL_CONFIG_H
@@ -176,7 +176,7 @@
void usage(const char *);
void output(const struct stat *, const char *,
- const char *, int, int, int);
+ const char *, int, int);
int format1(const struct stat *, /* stat info */
const char *, /* the file name */
const char *, int, /* the format string itself */
@@ -329,7 +329,7 @@
usestat ? "stat" : "lstat");
}
else
- output(&st, argv[0], statfmt, fn, nonl, quiet);
+ output(&st, argv[0], statfmt, fn, nonl);
argv++;
argc--;
@@ -352,7 +352,7 @@
*/
void
output(const struct stat *st, const char *file,
- const char *statfmt, int fn, int nonl, int quiet)
+ const char *statfmt, int fn, int nonl)
{
int flags, size, prec, ofmt, hilo, what;
char buf[PATH_MAX + 4 + 1];
Home |
Main Index |
Thread Index |
Old Index