Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern "extern int hz" was written in a v...



details:   https://anonhg.NetBSD.org/src/rev/ba91627f5604
branches:  trunk
changeset: 337481:ba91627f5604
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Apr 16 10:08:59 2015 +0000

description:
"extern int hz" was written in a very aesthetically pleasing way in this
file, but let's just be happy with the sys/kernel.h style of writing it.

diffstat:

 sys/rump/librump/rumpkern/intr.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 572aa86787b1 -r ba91627f5604 sys/rump/librump/rumpkern/intr.c
--- a/sys/rump/librump/rumpkern/intr.c  Thu Apr 16 10:05:43 2015 +0000
+++ b/sys/rump/librump/rumpkern/intr.c  Thu Apr 16 10:08:59 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.48 2015/01/14 18:51:56 pooka Exp $  */
+/*     $NetBSD: intr.c,v 1.49 2015/04/16 10:08:59 pooka Exp $  */
 
 /*
  * Copyright (c) 2008-2010, 2015 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.48 2015/01/14 18:51:56 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.49 2015/04/16 10:08:59 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -111,7 +111,6 @@
        long nsec;
        int error;
        int cpuindx = curcpu()->ci_index;
-       extern int hz;
 
        error = rumpuser_clock_gettime(RUMPUSER_CLOCK_ABSMONO, &sec, &nsec);
        if (error)



Home | Main Index | Thread Index | Old Index