Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Declare schedhz and rrticks as 'externs'.



details:   https://anonhg.NetBSD.org/src/rev/a7a25284ab79
branches:  trunk
changeset: 509502:a7a25284ab79
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun May 06 13:47:14 2001 +0000

description:
Declare schedhz and rrticks as 'externs'.

diffstat:

 sys/sys/sched.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 65b91269d1f2 -r a7a25284ab79 sys/sys/sched.h
--- a/sys/sys/sched.h   Sun May 06 13:46:34 2001 +0000
+++ b/sys/sys/sched.h   Sun May 06 13:47:14 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sched.h,v 1.11 2001/04/30 01:13:21 lukem Exp $ */
+/* $NetBSD: sched.h,v 1.12 2001/05/06 13:47:14 simonb Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -162,8 +162,8 @@
 #define NICE_WEIGHT 2                  /* priorities per nice level */
 #define        ESTCPULIM(e) min((e), NICE_WEIGHT * PRIO_MAX - PPQ)
 
-int    schedhz;                        /* ideally: 16 */
-int    rrticks;                        /* ticks per roundrobin() */
+extern int schedhz;                    /* ideally: 16 */
+extern int rrticks;                    /* ticks per roundrobin() */
 
 /*
  * Global scheduler state.  We would like to group these all together



Home | Main Index | Thread Index | Old Index