Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/share/misc Pull up revision 1.23 (requested by mason in...
details: https://anonhg.NetBSD.org/src/rev/c29045f1fc82
branches: netbsd-1-6
changeset: 530240:c29045f1fc82
user: tron <tron%NetBSD.org@localhost>
date: Mon Jun 02 14:56:46 2003 +0000
description:
Pull up revision 1.23 (requested by mason in ticket #1191):
Return value style update (no parentheses)
diffstat:
share/misc/style | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r c40e2a100770 -r c29045f1fc82 share/misc/style
--- a/share/misc/style Mon Jun 02 14:49:47 2003 +0000
+++ b/share/misc/style Mon Jun 02 14:56:46 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.20 2001/10/23 18:51:05 kleink Exp $ */
+/* $NetBSD: style,v 1.20.2.1 2003/06/02 14:56:46 tron 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.20 2001/10/23 18:51:05 kleink Exp $");
+__RCSID("$NetBSD: style,v 1.20.2.1 2003/06/02 14:56:46 tron Exp $");
#endif /* !__lint */
/*
@@ -331,7 +331,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