Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern kern/subr_kobj.c: We already get module_base from s...
details: https://anonhg.NetBSD.org/src/rev/61452bc29f49
branches: trunk
changeset: 372067:61452bc29f49
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Oct 26 23:26:45 2022 +0000
description:
kern/subr_kobj.c: We already get module_base from sys/module.h.
diffstat:
sys/kern/subr_kobj.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 14ed901897ec -r 61452bc29f49 sys/kern/subr_kobj.c
--- a/sys/kern/subr_kobj.c Wed Oct 26 23:24:59 2022 +0000
+++ b/sys/kern/subr_kobj.c Wed Oct 26 23:26:45 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_kobj.c,v 1.74 2022/10/26 23:22:07 riastradh Exp $ */
+/* $NetBSD: subr_kobj.c,v 1.75 2022/10/26 23:26:45 riastradh Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.74 2022/10/26 23:22:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_kobj.c,v 1.75 2022/10/26 23:26:45 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_modular.h"
@@ -1196,8 +1196,6 @@
kmem_free(base, size);
}
-extern char module_base[];
-
void
kobj_setname(kobj_t ko, const char *name)
{
Home |
Main Index |
Thread Index |
Old Index