aboutsummaryrefslogtreecommitdiff
path: root/loopgen.h
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-02-18 23:07:44 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-02-18 23:07:44 +0000
commit3c3468355f8cf3dd644058ab239b948f8facebfa (patch)
tree7d6d02c567637f5a72e88379d023475cce5aa232 /loopgen.h
parentd7b931824b452a6b70a599c69f4f1843f1b2daa5 (diff)
downloadpuzzles-3c3468355f8cf3dd644058ab239b948f8facebfa.zip
puzzles-3c3468355f8cf3dd644058ab239b948f8facebfa.tar.gz
puzzles-3c3468355f8cf3dd644058ab239b948f8facebfa.tar.bz2
puzzles-3c3468355f8cf3dd644058ab239b948f8facebfa.tar.xz
Use unreserved macro names for multiple-include protection
Some headers used macros named like _THING_H for multiple-include protection. That style of name is reserved in ISO C, though, so I've replaced it with PUZZLES_THING_H which is my favourite of the other styles in use.
Diffstat (limited to 'loopgen.h')
-rw-r--r--loopgen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/loopgen.h b/loopgen.h
index 079c87c..46002dc 100644
--- a/loopgen.h
+++ b/loopgen.h
@@ -2,8 +2,8 @@
* loopgen.h: interface file for loop generation functions for grid.[ch].
*/
-#ifndef _LOOPGEN_H
-#define _LOOPGEN_H
+#ifndef PUZZLES_LOOPGEN_H
+#define PUZZLES_LOOPGEN_H
#include "puzzles.h"
#include "grid.h"