Module Name:    src
Committed By:   pgoyette
Date:           Sat Sep 29 07:47:46 UTC 2018

Modified Files:
        src/sys/arch/mips/mips [pgoyette-compat]: netbsd32_machdep_16.c

Log Message:
Don't fall off the end of a non-void function.  (It used to be void,
but now returns an int to conform with requirements of the MP-safe
module_hook stuff.)


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/mips/mips/netbsd32_machdep_16.c

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

Modified files:

Index: src/sys/arch/mips/mips/netbsd32_machdep_16.c
diff -u src/sys/arch/mips/mips/netbsd32_machdep_16.c:1.1.2.3 src/sys/arch/mips/mips/netbsd32_machdep_16.c:1.1.2.4
--- src/sys/arch/mips/mips/netbsd32_machdep_16.c:1.1.2.3	Sat Sep 29 07:36:44 2018
+++ src/sys/arch/mips/mips/netbsd32_machdep_16.c	Sat Sep 29 07:47:46 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_machdep_16.c,v 1.1.2.3 2018/09/29 07:36:44 pgoyette Exp $	*/
+/*	$NetBSD: netbsd32_machdep_16.c,v 1.1.2.4 2018/09/29 07:47:46 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.1.2.3 2018/09/29 07:36:44 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.1.2.4 2018/09/29 07:47:46 pgoyette Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_coredump.h"
@@ -175,6 +175,8 @@ netbsd32_sendsig_16(const ksiginfo_t *ks
 		netbsd32_sendsig_sigcontext(ksi, mask);
 	else    
 		netbsd32_sendsig_siginfo(ksi, mask);
+
+	return 0;
 }       
 
 MODULE_SET_HOOK(netbsd32_sendsig_hook, "nb32_16", netbsd32_sendsig_16); 

Reply via email to