commit 11c9ec8b49ae650005a3b7bd74269ff58ab09635
parent b482b5f93e30d3989fec6efd5cd05507aeeeff12
Author: Bad Diode <bd@badd10de.dev>
Date: Sat, 5 Mar 2022 22:56:30 +0100
Add header guard to uxn.h
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/uxn.h b/src/uxn.h
@@ -1,3 +1,6 @@
+#ifndef UXN_UXN_H
+#define UXN_UXN_H
+
/*
Copyright (c) 2021 Devine Lu Linvega
@@ -46,3 +49,4 @@ int uxn_boot(Uxn *u, Uint8 *ram);
int uxn_eval(Uxn *u, Uint16 pc);
int uxn_halt(Uxn *u, Uint8 error, Uint16 addr);
Device *uxn_port(Uxn *u, Uint8 id, Uint8 (*deifn)(Device *, Uint8), void (*deofn)(Device *, Uint8));
+#endif // UXN_UXN_H