summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorguy fleury iteriteka <gfleury@disroot.org>2020-11-22 09:41:55 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-22 09:21:49 +0100
commit1c6dd2538da1f8adad2656ce8efe85f672022d2b (patch)
treeebb281f4fdfd207d6b156e3ffedba9a51234f11b /i386
parent8d5d20cefd8cab25e0bd6113f22ef4ad4ee97583 (diff)
fix missing include header guard.
* i386/i386/pit.h: Add header guard angaist multiple inclusion. Message-Id: <20201122074155.4883-1-gfleury@disroot.org>
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/pit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386/pit.h b/i386/i386/pit.h
index 6b682280..e004c37c 100644
--- a/i386/i386/pit.h
+++ b/i386/i386/pit.h
@@ -45,6 +45,9 @@ NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef _I386_PIT_H_
+#define _I386_PIT_H_
+
#if defined(AT386) || defined(ATX86_64)
/* Definitions for 8254 Programmable Interrupt Timer ports on AT 386 */
#define PITCTR0_PORT 0x40 /* counter 0 port */
@@ -79,3 +82,5 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif /* AT386 */
extern void clkstart(void);
+
+#endif /* _I386_PIT_H_ */