From 3ff76bcbb9853054a91f6292da85d3dad47382fe Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 30 Nov 2013 11:16:02 +0100 Subject: Add ifndefs * i386/i386at/cram.h [_CRAM_H_]: Add ifndef. * i386/i386at/disk.h [_DISK_H_]: Likewise. * i386/i386at/i8250.h [_I8250_H_]: Likewise. * i386/include/mach/i386/asm.h [_MACH_I386_ASM_H_]: Likewise. * i386/include/mach/i386/disk.h [_MACH_I386_DISK_H_]: Likewise. --- i386/include/mach/i386/asm.h | 4 ++++ i386/include/mach/i386/disk.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'i386/include/mach') diff --git a/i386/include/mach/i386/asm.h b/i386/include/mach/i386/asm.h index 3e3f48b..4e3b589 100644 --- a/i386/include/mach/i386/asm.h +++ b/i386/include/mach/i386/asm.h @@ -24,6 +24,8 @@ * the rights to redistribute these changes. */ +#ifndef _MACH_I386_ASM_H_ +#define _MACH_I386_ASM_H_ #define S_ARG0 4(%esp) #define S_ARG1 8(%esp) @@ -113,3 +115,5 @@ #define Entry(x) .globl EXT(x); .p2align TEXT_ALIGN; LEXT(x) #define DATA(x) .globl EXT(x); .p2align DATA_ALIGN; LEXT(x) + +#endif /* _MACH_I386_ASM_H_ */ diff --git a/i386/include/mach/i386/disk.h b/i386/include/mach/i386/disk.h index 40ed4fa..1bbbbdf 100644 --- a/i386/include/mach/i386/disk.h +++ b/i386/include/mach/i386/disk.h @@ -49,6 +49,9 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * disk.h */ +#ifndef _MACH_I386_DISK_H_ +#define _MACH_I386_DISK_H_ + #if defined(__linux__) || defined(__masix__) #define PART_DISK 4 /* partition number for entire disk */ #else @@ -118,3 +121,4 @@ struct absio { char *abs_buf; /* Sector buffer */ }; +#endif /* _MACH_I386_DISK_H_ */ -- cgit v1.2.3