Source-Changes-HG archive

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

[src/trunk]: src/sys/sys no need for extern kmutex_t itimer_mutex or #include...



details:   https://anonhg.NetBSD.org/src/rev/2f6de361f441
branches:  trunk
changeset: 984731:2f6de361f441
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jul 20 08:37:20 2021 +0000

description:
no need for extern kmutex_t itimer_mutex or #include <sys/mutex.h> here.

diffstat:

 sys/sys/timevar.h |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r e8f0dd56812c -r 2f6de361f441 sys/sys/timevar.h
--- a/sys/sys/timevar.h Tue Jul 20 08:36:11 2021 +0000
+++ b/sys/sys/timevar.h Tue Jul 20 08:37:20 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: timevar.h,v 1.47 2021/07/20 08:36:11 skrll Exp $       */
+/*     $NetBSD: timevar.h,v 1.48 2021/07/20 08:37:20 skrll Exp $       */
 
 /*
  *  Copyright (c) 2005, 2008, 2020 The NetBSD Foundation, Inc.
@@ -64,7 +64,6 @@
 #include <sys/queue.h>
 #include <sys/signal.h>
 #include <sys/systm.h>
-#include <sys/mutex.h>
 
 struct itimer;
 LIST_HEAD(itlist, itimer);
@@ -143,8 +142,6 @@
        struct itimer *pts_timers[TIMER_MAX];
 };
 
-extern kmutex_t        itimer_mutex;   /* XXX */
-
 /*
  * Functions for looking at our clock: [get]{bin,nano,micro}[up]time()
  *



Home | Main Index | Thread Index | Old Index