Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys sys/msgbuf.h: New home for extern log_open.
details: https://anonhg.NetBSD.org/src/rev/f30acb786dda
branches: trunk
changeset: 372073:f30acb786dda
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Oct 26 23:28:42 2022 +0000
description:
sys/msgbuf.h: New home for extern log_open.
diffstat:
sys/kern/subr_prf.c | 5 ++---
sys/sys/msgbuf.h | 3 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r e5960f1ddbac -r f30acb786dda sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c Wed Oct 26 23:28:30 2022 +0000
+++ b/sys/kern/subr_prf.c Wed Oct 26 23:28:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_prf.c,v 1.194 2022/10/25 23:21:13 riastradh Exp $ */
+/* $NetBSD: subr_prf.c,v 1.195 2022/10/26 23:28:42 riastradh Exp $ */
/*-
* Copyright (c) 1986, 1988, 1991, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.194 2022/10/25 23:21:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.195 2022/10/26 23:28:42 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -103,7 +103,6 @@
* globals
*/
-extern int log_open; /* subr_log: is /dev/klog open? */
const char *panicstr; /* arg to first call to panic (used as a flag
to indicate that panic has already been called). */
struct cpu_info *paniccpu; /* cpu that first panicked */
diff -r e5960f1ddbac -r f30acb786dda sys/sys/msgbuf.h
--- a/sys/sys/msgbuf.h Wed Oct 26 23:28:30 2022 +0000
+++ b/sys/sys/msgbuf.h Wed Oct 26 23:28:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msgbuf.h,v 1.17 2018/04/19 21:19:07 christos Exp $ */
+/* $NetBSD: msgbuf.h,v 1.18 2022/10/26 23:28:43 riastradh Exp $ */
/*
* Copyright (c) 1981, 1984, 1993
@@ -47,6 +47,7 @@
extern int msgbufmapped; /* is the message buffer mapped */
extern int msgbufenabled; /* is logging to the buffer enabled */
extern struct kern_msgbuf *msgbufp; /* the mapped buffer, itself. */
+extern int log_open; /* is /dev/klog open? */
void initmsgbuf(void *, size_t);
void loginit(void);
Home |
Main Index |
Thread Index |
Old Index