Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Get rid of one explicit typecast in previous and le...
details: https://anonhg.NetBSD.org/src/rev/f0efb1362a83
branches: trunk
changeset: 762526:f0efb1362a83
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Feb 22 14:08:58 2011 +0000
description:
Get rid of one explicit typecast in previous and let the compiler
figure it out.
diffstat:
sys/kern/makesyscalls.sh | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 81eaa898efff -r f0efb1362a83 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh Tue Feb 22 14:06:29 2011 +0000
+++ b/sys/kern/makesyscalls.sh Tue Feb 22 14:08:58 2011 +0000
@@ -1,5 +1,5 @@
#! /bin/sh -
-# $NetBSD: makesyscalls.sh,v 1.115 2011/02/22 14:05:20 pooka Exp $
+# $NetBSD: makesyscalls.sh,v 1.116 2011/02/22 14:08:58 pooka Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@@ -833,8 +833,7 @@
printf("%s\trv = *(%s *)retval;\n", \
indent, returntype) > rumpcalls
printf("%selse\n", indent, indent) > rumpcalls
- printf("%s\trv = (%s)*retval;\n", \
- indent, returntype) > rumpcalls
+ printf("%s\trv = *retval;\n", indent, returntype) > rumpcalls
printf("%s", ending) > rumpcalls
printf("\treturn rv;\n") > rumpcalls
}
Home |
Main Index |
Thread Index |
Old Index