Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/savecore Consistent use of return.
details: https://anonhg.NetBSD.org/src/rev/bc4d40eb0e99
branches: trunk
changeset: 783488:bc4d40eb0e99
user: mbalmer <mbalmer%NetBSD.org@localhost>
date: Tue Dec 25 09:24:45 2012 +0000
description:
Consistent use of return.
diffstat:
sbin/savecore/zopen.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 6b20b63f9521 -r bc4d40eb0e99 sbin/savecore/zopen.c
--- a/sbin/savecore/zopen.c Tue Dec 25 05:04:56 2012 +0000
+++ b/sbin/savecore/zopen.c Tue Dec 25 09:24:45 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zopen.c,v 1.2 2005/06/27 01:00:06 christos Exp $ */
+/* $NetBSD: zopen.c,v 1.3 2012/12/25 09:24:45 mbalmer Exp $ */
/*
* Public domain stdio wrapper for libz, written by Johan Danielsson.
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: zopen.c,v 1.2 2005/06/27 01:00:06 christos Exp $");
+__RCSID("$NetBSD: zopen.c,v 1.3 2012/12/25 09:24:45 mbalmer Exp $");
#endif
#include <stdio.h>
@@ -35,7 +35,7 @@
return NULL;
if(*mode == 'r')
- return (funopen(gz, xgzread, NULL, NULL, gzclose));
+ return funopen(gz, xgzread, NULL, NULL, gzclose);
else
- return (funopen(gz, NULL, xgzwrite, NULL, gzclose));
+ return funopen(gz, NULL, xgzwrite, NULL, gzclose);
}
Home |
Main Index |
Thread Index |
Old Index