Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/arch/sparc/fpu Declare the variable which we'r...



details:   https://anonhg.NetBSD.org/src/rev/f1ecc7ebf555
branches:  pgoyette-compat
changeset: 447827:f1ecc7ebf555
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Jan 25 09:04:51 2019 +0000

description:
Declare the variable which we're using as the return value of the
hook function.

diffstat:

 sys/arch/sparc/fpu/fpu.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1a3d48ae3010 -r f1ecc7ebf555 sys/arch/sparc/fpu/fpu.c
--- a/sys/arch/sparc/fpu/fpu.c  Thu Jan 24 06:48:27 2019 +0000
+++ b/sys/arch/sparc/fpu/fpu.c  Fri Jan 25 09:04:51 2019 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index