https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0bae06fa5f5f3e198adcb…
commit 0bae06fa5f5f3e198adcb50a86e9ede3649ef22a
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Dec 9 13:20:22 2017 +0100
[HAL] Add some header guards.
---
hal/halx86/apic/apic.h | 2 ++
hal/halx86/apic/tsc.h | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/hal/halx86/apic/apic.h b/hal/halx86/apic/apic.h
index 3c5f4234d7..5de22834be 100644
--- a/hal/halx86/apic/apic.h
+++ b/hal/halx86/apic/apic.h
@@ -1,4 +1,6 @@
+#pragma once
+
#ifdef _M_AMD64
#define IOAPIC_BASE 0xFFFFFFFFFFFE1000ULL // checkme
#define ZERO_VECTOR 0x00 // IRQL 00
diff --git a/hal/halx86/apic/tsc.h b/hal/halx86/apic/tsc.h
index 3d06ae12ec..00595a7a69 100644
--- a/hal/halx86/apic/tsc.h
+++ b/hal/halx86/apic/tsc.h
@@ -1,4 +1,6 @@
+#ifndef _TSC_H_
+#define _TSC_H_
#define NUM_SAMPLES 4
#define MSR_RDTSC 0x10
@@ -16,3 +18,5 @@ VOID NTAPI HalpInitializeTsc(void);
#endif
#endif
+
+#endif /* !_TSC_H_ */