Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/acorn32/include Add proper include guards..



details:   https://anonhg.NetBSD.org/src/rev/a2268292f3a3
branches:  trunk
changeset: 566417:a2268292f3a3
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sat May 08 21:04:06 2004 +0000

description:
Add proper include guards..

diffstat:

 sys/arch/acorn32/include/kbd.h      |  7 +++++--
 sys/arch/acorn32/include/vconsole.h |  7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r c0bbeb51f1e5 -r a2268292f3a3 sys/arch/acorn32/include/kbd.h
--- a/sys/arch/acorn32/include/kbd.h    Sat May 08 21:03:43 2004 +0000
+++ b/sys/arch/acorn32/include/kbd.h    Sat May 08 21:04:06 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kbd.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $  */
+/*     $NetBSD: kbd.h,v 1.2 2004/05/08 21:04:06 jmc Exp $      */
 
 /*
  * Copyright (c) 1995 Mark Brinicombe.
@@ -39,6 +39,9 @@
  * Created      : 21/07/95
  */
 
+#ifndef _ACORN32_KBD_H
+#define _ACORN32_KBD_H
+
 struct kbd_data {
        int keycode;
        struct timeval event_time;
@@ -63,4 +66,4 @@
 int    kbdgetstate __P((void));
 #endif
 
-/* End of kbd.h */
+#endif /* _ACORN32_KBD_H */
diff -r c0bbeb51f1e5 -r a2268292f3a3 sys/arch/acorn32/include/vconsole.h
--- a/sys/arch/acorn32/include/vconsole.h       Sat May 08 21:03:43 2004 +0000
+++ b/sys/arch/acorn32/include/vconsole.h       Sat May 08 21:04:06 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vconsole.h,v 1.1 2001/10/05 22:27:53 reinoud Exp $     */
+/*     $NetBSD: vconsole.h,v 1.2 2004/05/08 21:04:07 jmc Exp $ */
 
 /*
  * Copyright (c) 1994,1995 Melvyn Tang-Richardson
@@ -47,6 +47,9 @@
  * round the corner
  */
 
+#ifndef _ACORN32_VCONSOLE_H
+#define _ACORN32_VCONSOLE_H
+
 #ifdef _KERNEL
 #define LOSSY           1
 #define FIXEDRES        2
@@ -294,4 +297,4 @@
 #define CONSOLE_IOCTL_COMPAT_N _IO( 'n', 107 )
 #define CONSOLE_IOCTL_COMPAT_T _IO( 't', 107 )
 
-/* End of vconsole.h */
+#endif /* _ACORN32_VCONSOLE_H */



Home | Main Index | Thread Index | Old Index