Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/dev Make some functions static which aren't us...



details:   https://anonhg.NetBSD.org/src/rev/a7d941229a2c
branches:  trunk
changeset: 479997:a7d941229a2c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Dec 30 00:57:29 1999 +0000

description:
Make some functions static which aren't used anywhere else.  Remove local
function definitions that are already in qvssvar.h.

diffstat:

 sys/arch/pmax/dev/qvss_compat.c |  18 +++++++-----------
 sys/arch/pmax/dev/qvssvar.h     |   6 +-----
 2 files changed, 8 insertions(+), 16 deletions(-)

diffs (71 lines):

diff -r cc2d5884ac5a -r a7d941229a2c sys/arch/pmax/dev/qvss_compat.c
--- a/sys/arch/pmax/dev/qvss_compat.c   Thu Dec 30 00:31:02 1999 +0000
+++ b/sys/arch/pmax/dev/qvss_compat.c   Thu Dec 30 00:57:29 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qvss_compat.c,v 1.21 1999/11/16 06:00:12 nisimura Exp $        */
+/*     $NetBSD: qvss_compat.c,v 1.22 1999/12/30 00:57:29 simonb Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -109,13 +109,9 @@
 /*
  * Prototypes of local functions
  */
-extern void pmEventQueueInit __P((pmEventQueue *qe));
-void   genKbdEvent __P((int ch));
-void   genMouseEvent __P((MouseReport *newRepPtr));
-void   genMouseButtons __P((MouseReport *newRepPtr));
-void   genConfigMouse __P((void));
-void   genDeconfigMouse __P((void));
-void   mouseInput __P((int cc));
+static void genKbdEvent __P((int ch));
+static void genMouseEvent __P((MouseReport *newRepPtr));
+static void genMouseButtons __P((MouseReport *newRepPtr));
 
 
 #if NSCC > 0
@@ -516,21 +512,21 @@
  * thus finessing the problem.
  */
 
-void
+static void
 genKbdEvent(ch)
        int ch;
 {
        fbKbdEvent(ch, firstfi);
 }
 
-void
+static void
 genMouseEvent(newRepPtr)
        MouseReport *newRepPtr;
 {
        fbMouseEvent(newRepPtr, firstfi);
 }
 
-void
+static void
 genMouseButtons(newRepPtr)
        MouseReport *newRepPtr;
 {
diff -r cc2d5884ac5a -r a7d941229a2c sys/arch/pmax/dev/qvssvar.h
--- a/sys/arch/pmax/dev/qvssvar.h       Thu Dec 30 00:31:02 1999 +0000
+++ b/sys/arch/pmax/dev/qvssvar.h       Thu Dec 30 00:57:29 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qvssvar.h,v 1.1 1996/05/19 00:48:43 jonathan Exp $     */
+/*     $NetBSD: qvssvar.h,v 1.2 1999/12/30 00:57:29 simonb Exp $       */
 /*
  * Copyright 1996 The Board of Trustees of The Leland Stanford
  * Junior University. All Rights Reserved.
@@ -17,10 +17,6 @@
 #ifdef _KERNEL
 
 void   pmEventQueueInit __P((pmEventQueue *qe));
-
-void   genKbdEvent __P((int ch));
-void   genMouseEvent __P((MouseReport *newRepPtr));
-void   genMouseButtons __P((MouseReport *newRepPtr));
 void   genConfigMouse __P((void));
 void   genDeconfigMouse __P((void));
 void   mouseInput __P((int cc));



Home | Main Index | Thread Index | Old Index