Module Name: src
Committed By: pgoyette
Date: Fri Jan 25 09:04:51 UTC 2019
Modified Files:
src/sys/arch/sparc/fpu [pgoyette-compat]: fpu.c
Log Message:
Declare the variable which we're using as the return value of the
hook function.
To generate a diff of this commit:
cvs rdiff -u -r1.27.46.5 -r1.27.46.6 src/sys/arch/sparc/fpu/fpu.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/sparc/fpu/fpu.c
diff -u src/sys/arch/sparc/fpu/fpu.c:1.27.46.5 src/sys/arch/sparc/fpu/fpu.c:1.27.46.6
--- src/sys/arch/sparc/fpu/fpu.c:1.27.46.5 Tue Jan 22 07:42:40 2019
+++ src/sys/arch/sparc/fpu/fpu.c Fri Jan 25 09:04:51 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu.c,v 1.27.46.5 2019/01/22 07:42:40 pgoyette Exp $ */
+/* $NetBSD: fpu.c,v 1.27.46.6 2019/01/25 09:04:51 pgoyette Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.27.46.5 2019/01/22 07:42:40 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.27.46.6 2019/01/25 09:04:51 pgoyette Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -141,6 +141,7 @@ fpu_cleanup(
struct fpemu fe;
u_char *fpu_codes;
int code = 0;
+ int ret;
const struct emul *sunos_emul;
MODULE_CALL_HOOK(get_emul_sunos_hook, (&sunos_emul), enosys(), ret);