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.
This commit is contained in:
Ben Harris
2023-02-18 23:07:44 +00:00
parent d7b931824b
commit 3c3468355f
2 changed files with 4 additions and 4 deletions

View File

@ -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"