summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1994-08-21 04:55:31 +0000
committerpaul <paul@FreeBSD.org>1994-08-21 04:55:31 +0000
commit08a1a02226b4d527152475629f769143de5d8bb0 (patch)
tree466fcb5026270f5cbab9702d66e944ebd8d0a7d9
parent1f5dfa1be240017a7a4d938578b9a01ce1082391 (diff)
downloadFreeBSD-src-08a1a02226b4d527152475629f769143de5d8bb0.zip
FreeBSD-src-08a1a02226b4d527152475629f769143de5d8bb0.tar.gz
Made idempotent.
Reviewed by: Submitted by:
-rw-r--r--sys/amd64/include/profile.h7
-rw-r--r--sys/amd64/include/reloc.h7
-rw-r--r--sys/amd64/include/signal.h7
-rw-r--r--sys/i386/include/profile.h7
-rw-r--r--sys/i386/include/reloc.h7
-rw-r--r--sys/i386/include/signal.h7
-rw-r--r--sys/i386/include/soundcard.h9
-rw-r--r--sys/sys/soundcard.h9
8 files changed, 46 insertions, 14 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h
index 62dd697..03133aa 100644
--- a/sys/amd64/include/profile.h
+++ b/sys/amd64/include/profile.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
- * $Id$
+ * $Id: profile.h,v 1.2 1994/08/02 07:38:56 davidg Exp $
*/
+#ifndef _I386_MACHINE_PROFILE_H_
+#define _I386_MACHINE_PROFILE_H_
+
#define _MCOUNT_DECL static inline void _mcount
#define MCOUNT \
@@ -55,3 +58,5 @@ extern void mcount() asm("mcount"); void mcount() { \
frompcindex = ((int *)frompcindex)[1]; \
_mcount(frompcindex, selfpc); \
}
+
+#endif
diff --git a/sys/amd64/include/reloc.h b/sys/amd64/include/reloc.h
index fc3b5cb..7f9cfad 100644
--- a/sys/amd64/include/reloc.h
+++ b/sys/amd64/include/reloc.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)reloc.h 8.1 (Berkeley) 6/10/93
- * $Id: reloc.h,v 1.2 1994/08/02 07:38:59 davidg Exp $
+ * $Id: reloc.h,v 1.3 1994/08/09 14:39:57 jkh Exp $
*/
+#ifndef _I386_MACHINE_RELOC_H_
+#define _I386_MACHINE_RELOC_H_
+
/* Relocation format. */
struct relocation_info {
int r_address; /* offset in text or data segment */
@@ -46,3 +49,5 @@ struct relocation_info {
r_relative : 1, /* load address relative */
r_copy : 1; /* run time copy */
};
+
+#endif
diff --git a/sys/amd64/include/signal.h b/sys/amd64/include/signal.h
index e688d8d..093278f 100644
--- a/sys/amd64/include/signal.h
+++ b/sys/amd64/include/signal.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)signal.h 8.1 (Berkeley) 6/11/93
- * $Id$
+ * $Id: signal.h,v 1.3 1994/08/02 07:39:01 davidg Exp $
*/
+#ifndef _I386_MACHINE_SIGNAL_H_
+#define _I386_MACHINE_SIGNAL_H_
+
/*
* Machine-dependent signal definitions
*/
@@ -74,3 +77,5 @@ struct sigcontext {
# define sc_pc sc_eip
# define sc_ps sc_efl
};
+
+#endif
diff --git a/sys/i386/include/profile.h b/sys/i386/include/profile.h
index 62dd697..03133aa 100644
--- a/sys/i386/include/profile.h
+++ b/sys/i386/include/profile.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
- * $Id$
+ * $Id: profile.h,v 1.2 1994/08/02 07:38:56 davidg Exp $
*/
+#ifndef _I386_MACHINE_PROFILE_H_
+#define _I386_MACHINE_PROFILE_H_
+
#define _MCOUNT_DECL static inline void _mcount
#define MCOUNT \
@@ -55,3 +58,5 @@ extern void mcount() asm("mcount"); void mcount() { \
frompcindex = ((int *)frompcindex)[1]; \
_mcount(frompcindex, selfpc); \
}
+
+#endif
diff --git a/sys/i386/include/reloc.h b/sys/i386/include/reloc.h
index fc3b5cb..7f9cfad 100644
--- a/sys/i386/include/reloc.h
+++ b/sys/i386/include/reloc.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)reloc.h 8.1 (Berkeley) 6/10/93
- * $Id: reloc.h,v 1.2 1994/08/02 07:38:59 davidg Exp $
+ * $Id: reloc.h,v 1.3 1994/08/09 14:39:57 jkh Exp $
*/
+#ifndef _I386_MACHINE_RELOC_H_
+#define _I386_MACHINE_RELOC_H_
+
/* Relocation format. */
struct relocation_info {
int r_address; /* offset in text or data segment */
@@ -46,3 +49,5 @@ struct relocation_info {
r_relative : 1, /* load address relative */
r_copy : 1; /* run time copy */
};
+
+#endif
diff --git a/sys/i386/include/signal.h b/sys/i386/include/signal.h
index e688d8d..093278f 100644
--- a/sys/i386/include/signal.h
+++ b/sys/i386/include/signal.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)signal.h 8.1 (Berkeley) 6/11/93
- * $Id$
+ * $Id: signal.h,v 1.3 1994/08/02 07:39:01 davidg Exp $
*/
+#ifndef _I386_MACHINE_SIGNAL_H_
+#define _I386_MACHINE_SIGNAL_H_
+
/*
* Machine-dependent signal definitions
*/
@@ -74,3 +77,5 @@ struct sigcontext {
# define sc_pc sc_eip
# define sc_ps sc_efl
};
+
+#endif
diff --git a/sys/i386/include/soundcard.h b/sys/i386/include/soundcard.h
index 3bac78d..2ddd9a9 100644
--- a/sys/i386/include/soundcard.h
+++ b/sys/i386/include/soundcard.h
@@ -1,5 +1,3 @@
-#ifndef _SOUNDCARD_H_
-#define _SOUNDCARD_H_
/*
* Copyright by Hannu Savolainen 1993
*
@@ -25,9 +23,12 @@
* SUCH DAMAGE.
*
*
- * $Id$
+ * $Id: soundcard.h,v 1.6 1994/08/02 07:39:03 davidg Exp $
*/
+#ifndef _I386_MACHINE_SOUNDCARD_H_
+#define _I386_MACHINE_SOUNDCARD_H_
+
/*
* If you make modifications to this file, please contact me before
* distributing the modified version. There is already enough
@@ -761,4 +762,4 @@ void seqbuf_dump(void); /* This function must be provided by programs */
#endif
long soundcard_init(long mem_start);
-#endif /* _SOUNDCARD_H_ */
+#endif
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h
index 3bac78d..2ddd9a9 100644
--- a/sys/sys/soundcard.h
+++ b/sys/sys/soundcard.h
@@ -1,5 +1,3 @@
-#ifndef _SOUNDCARD_H_
-#define _SOUNDCARD_H_
/*
* Copyright by Hannu Savolainen 1993
*
@@ -25,9 +23,12 @@
* SUCH DAMAGE.
*
*
- * $Id$
+ * $Id: soundcard.h,v 1.6 1994/08/02 07:39:03 davidg Exp $
*/
+#ifndef _I386_MACHINE_SOUNDCARD_H_
+#define _I386_MACHINE_SOUNDCARD_H_
+
/*
* If you make modifications to this file, please contact me before
* distributing the modified version. There is already enough
@@ -761,4 +762,4 @@ void seqbuf_dump(void); /* This function must be provided by programs */
#endif
long soundcard_init(long mem_start);
-#endif /* _SOUNDCARD_H_ */
+#endif
OpenPOWER on IntegriCloud