Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm/include Provide multiple include protection....



details:   https://anonhg.NetBSD.org/src/rev/9cb57ef5f582
branches:  trunk
changeset: 566502:9cb57ef5f582
user:      he <he%NetBSD.org@localhost>
date:      Tue May 11 10:13:35 2004 +0000

description:
Provide multiple include protection.  Fixes build problem in kdump.

diffstat:

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

diffs (24 lines):

diff -r c33f9ecb7472 -r 9cb57ef5f582 sys/arch/hpcarm/include/apmvar.h
--- a/sys/arch/hpcarm/include/apmvar.h  Tue May 11 09:32:02 2004 +0000
+++ b/sys/arch/hpcarm/include/apmvar.h  Tue May 11 10:13:35 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apmvar.h,v 1.2 2002/09/19 16:52:00 manu Exp $  */
+/*     $NetBSD: apmvar.h,v 1.3 2004/05/11 10:13:35 he Exp $    */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -36,6 +36,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#ifndef _MACHINE_APMVAR_H_
+#define _MACHINE_APMVAR_H_
+
 struct apm_attach_args {
        int aaa_magic;
 };
@@ -94,3 +97,4 @@
 
 #define APM_IOC_NEXTEVENT _IOR('A', 4, struct apm_event_info)
 
+#endif /* _MACHINE_APMVAR_H_ */



Home | Main Index | Thread Index | Old Index