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

@ -10,8 +10,8 @@
* called with each tile in turn: you choose how many times to recurse.
*/
#ifndef _PENROSE_H
#define _PENROSE_H
#ifndef PUZZLES_PENROSE_H
#define PUZZLES_PENROSE_H
#ifndef PHI
#define PHI 1.6180339887