Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/misc Prototyping main is silly and shouldn't be encour...
details: https://anonhg.NetBSD.org/src/rev/ef4571590130
branches: trunk
changeset: 768808:ef4571590130
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 27 17:48:11 2011 +0000
description:
Prototyping main is silly and shouldn't be encouraged.
diffstat:
share/misc/style | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r faac3196dd18 -r ef4571590130 share/misc/style
--- a/share/misc/style Sat Aug 27 17:46:34 2011 +0000
+++ b/share/misc/style Sat Aug 27 17:48:11 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.47 2010/10/30 20:12:32 christos Exp $ */
+/* $NetBSD: style,v 1.48 2011/08/27 17:48:11 joerg Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008\
The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: style,v 1.47 2010/10/30 20:12:32 christos Exp $");
+__RCSID("$NetBSD: style,v 1.48 2011/08/27 17:48:11 joerg Exp $");
/*
* VERY important single-line comments look like this.
@@ -122,7 +122,6 @@
static int dirinfo(const char *, struct stat *, struct dirent *,
struct statfs *, int *, char **[]);
static void usage(void) __dead; /* declare functions that don't return dead */
-int main(int, char *[]);
/*
* Macros are capitalized, parenthesized, and should avoid side-effects.
Home |
Main Index |
Thread Index |
Old Index