Module Name:    src
Committed By:   pooka
Date:           Tue Feb 22 14:08:58 UTC 2011

Modified Files:
        src/sys/kern: makesyscalls.sh

Log Message:
Get rid of one explicit typecast in previous and let the compiler
figure it out.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/kern/makesyscalls.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/makesyscalls.sh
diff -u src/sys/kern/makesyscalls.sh:1.115 src/sys/kern/makesyscalls.sh:1.116
--- src/sys/kern/makesyscalls.sh:1.115	Tue Feb 22 14:05:20 2011
+++ src/sys/kern/makesyscalls.sh	Tue Feb 22 14:08:58 2011
@@ -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
 	}

Reply via email to