Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/linux/common Make sure we declare the h...
details: https://anonhg.NetBSD.org/src/rev/6c39c52df279
branches: pgoyette-compat
changeset: 447794:6c39c52df279
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jan 24 04:37:24 2019 +0000
description:
Make sure we declare the hook variable
diffstat:
sys/compat/linux/common/linux_exec_elf32.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1499f6609b84 -r 6c39c52df279 sys/compat/linux/common/linux_exec_elf32.c
--- a/sys/compat/linux/common/linux_exec_elf32.c Thu Jan 24 04:32:41 2019 +0000
+++ b/sys/compat/linux/common/linux_exec_elf32.c Thu Jan 24 04:37:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec_elf32.c,v 1.94.12.3 2019/01/24 04:08:09 pgoyette Exp $ */
+/* $NetBSD: linux_exec_elf32.c,v 1.94.12.4 2019/01/24 04:37:24 pgoyette Exp $ */
/*-
* Copyright (c) 1995, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.94.12.3 2019/01/24 04:08:09 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.94.12.4 2019/01/24 04:37:24 pgoyette Exp $");
#ifndef ELFSIZE
/* XXX should die */
@@ -335,6 +335,7 @@
goto out;
#if (ELFSIZE == 32)
+ extern struct netbsd32_machine32_hook_t netbsd32_machine32_hook;
MODULE_CALL_HOOK(netbsd32_machine32_hook, (), machine, m);
#else
m = machine;
Home |
Main Index |
Thread Index |
Old Index