mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
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:
@ -2,8 +2,8 @@
|
|||||||
* loopgen.h: interface file for loop generation functions for grid.[ch].
|
* loopgen.h: interface file for loop generation functions for grid.[ch].
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _LOOPGEN_H
|
#ifndef PUZZLES_LOOPGEN_H
|
||||||
#define _LOOPGEN_H
|
#define PUZZLES_LOOPGEN_H
|
||||||
|
|
||||||
#include "puzzles.h"
|
#include "puzzles.h"
|
||||||
#include "grid.h"
|
#include "grid.h"
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
* called with each tile in turn: you choose how many times to recurse.
|
* called with each tile in turn: you choose how many times to recurse.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _PENROSE_H
|
#ifndef PUZZLES_PENROSE_H
|
||||||
#define _PENROSE_H
|
#define PUZZLES_PENROSE_H
|
||||||
|
|
||||||
#ifndef PHI
|
#ifndef PHI
|
||||||
#define PHI 1.6180339887
|
#define PHI 1.6180339887
|
||||||
|
Reference in New Issue
Block a user