summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2019-09-27 18:40:40 -0400
committerAndrew Opalach <andrew@akon.city> 2019-09-27 18:40:40 -0400
commitba5265a4e0f7df4a5ad96b335cc807444f4c4730 (patch)
tree2725273dc9a7cdd05a140a7a1896ec927194b6fd /lib
parent7c2779d53a69b4fa0a81d149002994e8c5051120 (diff)
downloadcetris-ba5265a4e0f7df4a5ad96b335cc807444f4c4730.tar.gz
cetris-ba5265a4e0f7df4a5ad96b335cc807444f4c4730.tar.bz2
cetris-ba5265a4e0f7df4a5ad96b335cc807444f4c4730.zip
add header guard
Diffstat (limited to 'lib')
-rw-r--r--lib/cetris.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cetris.h b/lib/cetris.h
index dc92d83..49faf87 100644
--- a/lib/cetris.h
+++ b/lib/cetris.h
@@ -1,3 +1,6 @@
+#ifndef CETRIS_H
+#define CETRIS_H
+
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
@@ -681,3 +684,5 @@ void rotate_matrix(cetris_game *g, piece_matrix *m, bool clockwise) {
}
}
}
+
+#endif /* CETRIS_H */