Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/umount Remove main() prototype; WARNS=2
details: https://anonhg.NetBSD.org/src/rev/4ac279ba8515
branches: trunk
changeset: 573112:4ac279ba8515
user: xtraeme <xtraeme%NetBSD.org@localhost>
date: Wed Jan 19 20:43:06 2005 +0000
description:
Remove main() prototype; WARNS=2
diffstat:
sbin/umount/Makefile | 3 ++-
sbin/umount/umount.c | 6 ++----
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 7a64c1fcd088 -r 4ac279ba8515 sbin/umount/Makefile
--- a/sbin/umount/Makefile Wed Jan 19 20:42:04 2005 +0000
+++ b/sbin/umount/Makefile Wed Jan 19 20:43:06 2005 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2002/08/19 10:17:01 lukem Exp $
+# $NetBSD: Makefile,v 1.13 2005/01/19 20:43:06 xtraeme Exp $
# @(#)Makefile 8.4 (Berkeley) 6/22/95
.include <bsd.own.mk>
+WARNS= 2
PROG= umount
SRCS= umount.c vfslist.c
MAN= umount.8
diff -r 7a64c1fcd088 -r 4ac279ba8515 sbin/umount/umount.c
--- a/sbin/umount/umount.c Wed Jan 19 20:42:04 2005 +0000
+++ b/sbin/umount/umount.c Wed Jan 19 20:43:06 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umount.c,v 1.35 2004/09/01 01:47:09 chs Exp $ */
+/* $NetBSD: umount.c,v 1.36 2005/01/19 20:43:06 xtraeme Exp $ */
/*-
* Copyright (c) 1980, 1989, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)umount.c 8.8 (Berkeley) 5/8/95";
#else
-__RCSID("$NetBSD: umount.c,v 1.35 2004/09/01 01:47:09 chs Exp $");
+__RCSID("$NetBSD: umount.c,v 1.36 2005/01/19 20:43:06 xtraeme Exp $");
#endif
#endif /* not lint */
@@ -83,8 +83,6 @@
static int umountfs(const char *, const char **, int);
static void usage(void) __attribute__((__noreturn__));
-int main(int, char *[]);
-
int
main(int argc, char *argv[])
{
Home |
Main Index |
Thread Index |
Old Index