Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include protect against multiple includes bec...



details:   https://anonhg.NetBSD.org/src/rev/cd4194f01d3f
branches:  trunk
changeset: 566033:cd4194f01d3f
user:      fair <fair%NetBSD.org@localhost>
date:      Sun Apr 25 23:17:59 2004 +0000

description:
protect against multiple includes because the make procedures for
kdump, ktruss, etc., aren't smart enough to spot this as a duplicate
from both include/{alpha,machine}/vuid_event.h

diffstat:

 sys/arch/alpha/include/vuid_event.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 2d8c97e735aa -r cd4194f01d3f sys/arch/alpha/include/vuid_event.h
--- a/sys/arch/alpha/include/vuid_event.h       Sun Apr 25 22:25:03 2004 +0000
+++ b/sys/arch/alpha/include/vuid_event.h       Sun Apr 25 23:17:59 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vuid_event.h,v 1.3 2003/08/07 16:26:33 agc Exp $ */
+/* $NetBSD: vuid_event.h,v 1.4 2004/04/25 23:17:59 fair Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -40,6 +40,8 @@
  *     @(#)vuid_event.h        8.1 (Berkeley) 6/11/93
  */
 
+#ifndef _ALPHA_VUID_EVENT_H_
+#define _ALPHA_VUID_EVENT_H_
 /*
  * The following is a minimal emulation of Sun's `Firm_event' structures
  * and related operations necessary to make X11 happy (i.e., make it
@@ -81,3 +83,5 @@
 #define        VUIDSFORMAT     _IOW('v', 1, int)
 #define        VUIDGFORMAT     _IOR('v', 2, int)
 #define        VUID_FIRM_EVENT 1       /* the only format we support */
+
+#endif /* _ALPHA_VUID_EVENT_H_ */



Home | Main Index | Thread Index | Old Index