Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern cast nullop though void *



details:   https://anonhg.NetBSD.org/src/rev/426868f2f46b
branches:  trunk
changeset: 1004130:426868f2f46b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 13 22:31:19 2019 +0000

description:
cast nullop though void *

diffstat:

 sys/kern/makesyscalls.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r eb1d1b5dfb5f -r 426868f2f46b sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Sun Oct 13 22:30:52 2019 +0000
+++ b/sys/kern/makesyscalls.sh  Sun Oct 13 22:31:19 2019 +0000
@@ -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 @@
                comment=comment " " $i
 
        if ($2 == "IGNORED")
-               sys_stub = "(sy_call_t *)nullop";
+               sys_stub = "(sy_call_t *)(void *)nullop";
        else
                sys_stub = sys_nosys;
 



Home | Main Index | Thread Index | Old Index