Source-Changes-HG archive

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

[src/trunk]: src/sys/sys add missing 'struct reg;' forward decl.



details:   https://anonhg.NetBSD.org/src/rev/d99c4307b2d5
branches:  trunk
changeset: 457792:d99c4307b2d5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jul 20 20:59:05 2019 +0000

description:
add missing 'struct reg;' forward decl.

diffstat:

 sys/sys/compat_stub.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r de2531bcd250 -r d99c4307b2d5 sys/sys/compat_stub.h
--- a/sys/sys/compat_stub.h     Sat Jul 20 20:49:06 2019 +0000
+++ b/sys/sys/compat_stub.h     Sat Jul 20 20:59:05 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_stub.h,v 1.17 2019/07/20 18:23:05 christos Exp $        */
+/*     $NetBSD: compat_stub.h,v 1.18 2019/07/20 20:59:05 mrg Exp $     */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -353,6 +353,7 @@
  * the main kernel, and not in a compat_netbsd32 module.  (In particular,
  * this is true for i386 and sgimips.)
  */
+struct reg;
 MODULE_HOOK(netbsd32_machine32_hook, const char *, (void));
 MODULE_HOOK(netbsd32_reg_validate_hook, int,
     (struct lwp *, const struct reg *));



Home | Main Index | Thread Index | Old Index