Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/misc Return value style update (no parentheses)
details: https://anonhg.NetBSD.org/src/rev/a26b45df4ea9
branches: trunk
changeset: 543810:a26b45df4ea9
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Mar 04 14:22:15 2003 +0000
description:
Return value style update (no parentheses)
diffstat:
share/misc/style | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 8488175867e1 -r a26b45df4ea9 share/misc/style
--- a/share/misc/style Tue Mar 04 13:44:08 2003 +0000
+++ b/share/misc/style Tue Mar 04 14:22:15 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.22 2003/03/02 18:25:45 jhawk Exp $ */
+/* $NetBSD: style,v 1.23 2003/03/04 14:22:15 fvdl Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
#ifndef __lint
__COPYRIGHT("@(#) Copyright (c) 2000\n\
The NetBSD Foundation, inc. All rights reserved.\n");
-__RCSID("$NetBSD: style,v 1.22 2003/03/02 18:25:45 jhawk Exp $");
+__RCSID("$NetBSD: style,v 1.23 2003/03/04 14:22:15 fvdl Exp $");
#endif /* !__lint */
/*
@@ -333,7 +333,9 @@
err(1, NULL);
if ((six = (int *)overflow()) == NULL)
errx(1, "Number overflowed.");
- return (eight);
+
+ /* No parentheses are needed around the return value. */
+ return eight;
}
/*
Home |
Main Index |
Thread Index |
Old Index