Module Name:    src
Committed By:   christos
Date:           Sun Oct 13 22:31:19 UTC 2019

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

Log Message:
cast nullop though void *


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 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.174 src/sys/kern/makesyscalls.sh:1.175
--- src/sys/kern/makesyscalls.sh:1.174	Tue Oct  8 21:43:00 2019
+++ src/sys/kern/makesyscalls.sh	Sun Oct 13 18:31:19 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: makesyscalls.sh,v 1.174 2019/10/09 01:43:00 christos Exp $
+#	$NetBSD: makesyscalls.sh,v 1.175 2019/10/13 22:31:19 christos Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -1071,7 +1071,7 @@ $2 == "OBSOL" || $2 == "UNIMPL" || $2 ==
 		comment=comment " " $i
 
 	if ($2 == "IGNORED")
-		sys_stub = "(sy_call_t *)nullop";
+		sys_stub = "(sy_call_t *)(void *)nullop";
 	else
 		sys_stub = sys_nosys;
 

Reply via email to