diff options
| author | 2019-09-27 18:40:40 -0400 | |
|---|---|---|
| committer | 2019-09-27 18:40:40 -0400 | |
| commit | ba5265a4e0f7df4a5ad96b335cc807444f4c4730 (patch) | |
| tree | 2725273dc9a7cdd05a140a7a1896ec927194b6fd | |
| parent | 7c2779d53a69b4fa0a81d149002994e8c5051120 (diff) | |
| download | cetris-ba5265a4e0f7df4a5ad96b335cc807444f4c4730.tar.gz cetris-ba5265a4e0f7df4a5ad96b335cc807444f4c4730.tar.bz2 cetris-ba5265a4e0f7df4a5ad96b335cc807444f4c4730.zip | |
add header guard
| -rw-r--r-- | lib/cetris.h | 5 |
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 */
|