Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add missing 'error' declaration



details:   https://anonhg.NetBSD.org/src/rev/00509d00ee42
branches:  trunk
changeset: 955886:00509d00ee42
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 15 18:57:16 2020 +0000

description:
Add missing 'error' declaration

diffstat:

 sys/arch/powerpc/powerpc/process_machdep.c |  6 +++---
 sys/arch/sh3/sh3/process_machdep.c         |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 0d6159077bd1 -r 00509d00ee42 sys/arch/powerpc/powerpc/process_machdep.c
--- a/sys/arch/powerpc/powerpc/process_machdep.c        Thu Oct 15 17:44:44 2020 +0000
+++ b/sys/arch/powerpc/powerpc/process_machdep.c        Thu Oct 15 18:57:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process_machdep.c,v 1.40 2020/10/15 17:37:36 mgorny Exp $      */
+/*     $NetBSD: process_machdep.c,v 1.41 2020/10/15 18:57:16 martin Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.40 2020/10/15 17:37:36 mgorny Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.41 2020/10/15 18:57:16 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altivec.h"
@@ -193,7 +193,7 @@
 {
        struct uio uio;
        struct iovec iov;
-       int write = 0;
+       int write = 0, error;
 
        switch (req) {
        case PT_SETVECREGS:
diff -r 0d6159077bd1 -r 00509d00ee42 sys/arch/sh3/sh3/process_machdep.c
--- a/sys/arch/sh3/sh3/process_machdep.c        Thu Oct 15 17:44:44 2020 +0000
+++ b/sys/arch/sh3/sh3/process_machdep.c        Thu Oct 15 18:57:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process_machdep.c,v 1.23 2020/10/15 17:37:36 mgorny Exp $      */
+/*     $NetBSD: process_machdep.c,v 1.24 2020/10/15 18:58:59 martin Exp $      */
 
 /*
  * Copyright (c) 1993 The Regents of the University of California.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.23 2020/10/15 17:37:36 mgorny Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.24 2020/10/15 18:58:59 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -188,7 +188,7 @@
 {
        struct uio uio;
        struct iovec iov;
-       int write = 0;
+       int write = 0, error;
 
        switch (req) {
        default:



Home | Main Index | Thread Index | Old Index