Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/tc - Protect against multiple includes.



details:   https://anonhg.NetBSD.org/src/rev/b8ca334b3f81
branches:  trunk
changeset: 480353:b8ca334b3f81
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Jan 09 23:10:45 2000 +0000

description:
- Protect against multiple includes.
- Spacing.

diffstat:

 sys/arch/pmax/tc/sccvar.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 1751a3c121bc -r b8ca334b3f81 sys/arch/pmax/tc/sccvar.h
--- a/sys/arch/pmax/tc/sccvar.h Sun Jan 09 22:31:44 2000 +0000
+++ b/sys/arch/pmax/tc/sccvar.h Sun Jan 09 23:10:45 2000 +0000
@@ -1,5 +1,7 @@
-/*     $NetBSD: sccvar.h,v 1.5 2000/01/09 03:56:09 simonb Exp $        */
+/*     $NetBSD: sccvar.h,v 1.6 2000/01/09 23:10:45 ad Exp $    */
 
+#ifndef _PMAX_TC_SCCVAR_H_
+#define _PMAX_TC_SCCVAR_H_
 
 /*
  * Minor device numbers for scc. Weird because B channel comes
@@ -18,13 +20,15 @@
 #define        SCCCOMM3_PORT   0x2
 #define        SCCKBD_PORT     0x3
 
+struct scc_regmap;
 
 int    sccGetc __P((dev_t));
 void   sccPutc __P((dev_t, int));
-struct scc_regmap;
 void   scc_consinit __P((dev_t dev, struct scc_regmap *sccaddr));
 
 /* QVSS-compatible in-kernel X input event parser, pointer tracker */
 extern void    (*sccDivertXInput) __P((int));
 extern void    (*sccMouseEvent) __P((void *));
 extern void    (*sccMouseButtons) __P((void *));
+
+#endif /* !_PMAX_TC_SCCVAR_H_ */



Home | Main Index | Thread Index | Old Index