Module Name: src
Committed By: sevan
Date: Mon Sep 5 01:09:58 UTC 2016
Modified Files:
src/sbin/badsect: badsect.c
src/sbin/modload: main.c
src/sbin/modstat: main.c
src/sbin/modunload: main.c
src/sbin/mount_hfs: mount_hfs.c
src/sbin/mount_ptyfs: mount_ptyfs.c
src/sbin/rcorder: rcorder.c
Log Message:
Drop main() prototype.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sbin/badsect/badsect.c
cvs rdiff -u -r1.16 -r1.17 src/sbin/modload/main.c
cvs rdiff -u -r1.22 -r1.23 src/sbin/modstat/main.c
cvs rdiff -u -r1.5 -r1.6 src/sbin/modunload/main.c
cvs rdiff -u -r1.9 -r1.10 src/sbin/mount_hfs/mount_hfs.c
cvs rdiff -u -r1.16 -r1.17 src/sbin/mount_ptyfs/mount_ptyfs.c
cvs rdiff -u -r1.17 -r1.18 src/sbin/rcorder/rcorder.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/badsect/badsect.c
diff -u src/sbin/badsect/badsect.c:1.33 src/sbin/badsect/badsect.c:1.34
--- src/sbin/badsect/badsect.c:1.33 Sun Jun 23 02:06:04 2013
+++ src/sbin/badsect/badsect.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: badsect.c,v 1.33 2013/06/23 02:06:04 dholland Exp $ */
+/* $NetBSD: badsect.c,v 1.34 2016/09/05 01:09:57 sevan Exp $ */
/*
* Copyright (c) 1981, 1983, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1981, 19
#if 0
static char sccsid[] = "@(#)badsect.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: badsect.c,v 1.33 2013/06/23 02:06:04 dholland Exp $");
+__RCSID("$NetBSD: badsect.c,v 1.34 2016/09/05 01:09:57 sevan Exp $");
#endif
#endif /* not lint */
@@ -90,8 +90,6 @@ static int is_ufs2;
static void rdfs(off_t, size_t, void *);
static int chkuse(daddr_t, int);
-int main(int, char *[]);
-
static const off_t sblock_try[] = SBLOCKSEARCH;
int
Index: src/sbin/modload/main.c
diff -u src/sbin/modload/main.c:1.16 src/sbin/modload/main.c:1.17
--- src/sbin/modload/main.c:1.16 Fri May 6 00:24:45 2016
+++ src/sbin/modload/main.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.16 2016/05/06 00:24:45 khorben Exp $ */
+/* $NetBSD: main.c,v 1.17 2016/09/05 01:09:57 sevan Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.16 2016/05/06 00:24:45 khorben Exp $");
+__RCSID("$NetBSD: main.c,v 1.17 2016/09/05 01:09:57 sevan Exp $");
#endif /* !lint */
#include <sys/module.h>
@@ -46,7 +46,6 @@ __RCSID("$NetBSD: main.c,v 1.16 2016/05/
#include "prog_ops.h"
-int main(int, char **);
static void parse_bool_param(prop_dictionary_t, const char *,
const char *);
static void parse_int_param(prop_dictionary_t, const char *,
Index: src/sbin/modstat/main.c
diff -u src/sbin/modstat/main.c:1.22 src/sbin/modstat/main.c:1.23
--- src/sbin/modstat/main.c:1.22 Wed Aug 3 23:55:47 2016
+++ src/sbin/modstat/main.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.22 2016/08/03 23:55:47 pgoyette Exp $ */
+/* $NetBSD: main.c,v 1.23 2016/09/05 01:09:57 sevan Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.22 2016/08/03 23:55:47 pgoyette Exp $");
+__RCSID("$NetBSD: main.c,v 1.23 2016/09/05 01:09:57 sevan Exp $");
#endif /* !lint */
#include <sys/module.h>
@@ -45,7 +45,6 @@ __RCSID("$NetBSD: main.c,v 1.22 2016/08/
#include "prog_ops.h"
-int main(int, char **);
static void usage(void) __dead;
static int modstatcmp(const void *, const void *);
Index: src/sbin/modunload/main.c
diff -u src/sbin/modunload/main.c:1.5 src/sbin/modunload/main.c:1.6
--- src/sbin/modunload/main.c:1.5 Fri May 6 00:24:45 2016
+++ src/sbin/modunload/main.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.5 2016/05/06 00:24:45 khorben Exp $ */
+/* $NetBSD: main.c,v 1.6 2016/09/05 01:09:57 sevan Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.5 2016/05/06 00:24:45 khorben Exp $");
+__RCSID("$NetBSD: main.c,v 1.6 2016/09/05 01:09:57 sevan Exp $");
#endif /* !lint */
#include <sys/module.h>
@@ -41,7 +41,6 @@ __RCSID("$NetBSD: main.c,v 1.5 2016/05/0
#include "prog_ops.h"
-int main(int, char **);
static void usage(void) __dead;
int
Index: src/sbin/mount_hfs/mount_hfs.c
diff -u src/sbin/mount_hfs/mount_hfs.c:1.9 src/sbin/mount_hfs/mount_hfs.c:1.10
--- src/sbin/mount_hfs/mount_hfs.c:1.9 Mon Aug 29 14:35:01 2011
+++ src/sbin/mount_hfs/mount_hfs.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_hfs.c,v 1.9 2011/08/29 14:35:01 joerg Exp $ */
+/* $NetBSD: mount_hfs.c,v 1.10 2016/09/05 01:09:57 sevan Exp $ */
/*-
* Copyright (c) 2005, 2007 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@ __COPYRIGHT("@(#) Copyright (c) 2005 Yev
#endif /* not lint */
#ifndef lint
-__RCSID("$NetBSD: mount_hfs.c,v 1.9 2011/08/29 14:35:01 joerg Exp $");
+__RCSID("$NetBSD: mount_hfs.c,v 1.10 2016/09/05 01:09:57 sevan Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -88,7 +88,6 @@ static const struct mntopt mopts[] = {
MOPT_NULL,
};
-int main(int, char *[]);
__dead static void usage(void);
#ifndef MOUNT_NOMAIN
Index: src/sbin/mount_ptyfs/mount_ptyfs.c
diff -u src/sbin/mount_ptyfs/mount_ptyfs.c:1.16 src/sbin/mount_ptyfs/mount_ptyfs.c:1.17
--- src/sbin/mount_ptyfs/mount_ptyfs.c:1.16 Sun Feb 21 22:51:29 2016
+++ src/sbin/mount_ptyfs/mount_ptyfs.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_ptyfs.c,v 1.16 2016/02/21 22:51:29 christos Exp $ */
+/* $NetBSD: mount_ptyfs.c,v 1.17 2016/09/05 01:09:57 sevan Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@@ -77,7 +77,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 19
#if 0
static char sccsid[] = "@(#)mount_ptyfs.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: mount_ptyfs.c,v 1.16 2016/02/21 22:51:29 christos Exp $");
+__RCSID("$NetBSD: mount_ptyfs.c,v 1.17 2016/09/05 01:09:57 sevan Exp $");
#endif
#endif /* not lint */
@@ -113,7 +113,6 @@ static const struct mntopt mopts[] = {
MOPT_NULL,
};
-int main(int, char *[]);
int mount_ptyfs(int argc, char **argv);
static gid_t getgrp(const char *name);
Index: src/sbin/rcorder/rcorder.c
diff -u src/sbin/rcorder/rcorder.c:1.17 src/sbin/rcorder/rcorder.c:1.18
--- src/sbin/rcorder/rcorder.c:1.17 Sat Oct 19 01:09:59 2013
+++ src/sbin/rcorder/rcorder.c Mon Sep 5 01:09:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: rcorder.c,v 1.17 2013/10/19 01:09:59 christos Exp $ */
+/* $NetBSD: rcorder.c,v 1.18 2016/09/05 01:09:57 sevan Exp $ */
/*
* Copyright (c) 1998, 1999 Matthew R. Green
@@ -162,7 +162,6 @@ Hash_Entry *make_fake_provision(filenode
void crunch_all_files(void);
void initialize(void);
void generate_ordering(void);
-int main(int, char *[]);
int
main(int argc, char *argv[])