header file #endif guard middle program once style consistency

This commit is contained in:
Darryl L. Miles 2025-01-31 18:53:59 +00:00 committed by R. Timothy Edwards
parent d55a2b74ac
commit 2db18509c5
6 changed files with 19 additions and 19 deletions

View File

@ -30,9 +30,9 @@
#ifndef _MAGIC__BPLANE__BPOPAQUE_H #ifndef _MAGIC__BPLANE__BPOPAQUE_H
#define _MAGIC__BPLANE__BPOPAQUE_H #define _MAGIC__BPLANE__BPOPAQUE_H
#ifndef _IHASH_H #ifndef _MAGIC__UTILS__IHASH_H
#include "utils/ihash.h" #include "utils/ihash.h"
#endif /* _IHASH_H */ #endif
/* /*
* bpOpaque.h -- * bpOpaque.h --

View File

@ -25,21 +25,21 @@
#ifndef _MAGIC__DATABASE__DATABASE_H #ifndef _MAGIC__DATABASE__DATABASE_H
#define _MAGIC__DATABASE__DATABASE_H #define _MAGIC__DATABASE__DATABASE_H
#ifndef _TILES_H #ifndef _MAGIC__TILES__TILE_H
#include "tiles/tile.h" #include "tiles/tile.h"
#endif /* _TILES_H */ #endif
#ifndef _HASH_H #ifndef _MAGIC__UTILS__HASH_H
#include "utils/hash.h" #include "utils/hash.h"
#endif /* _HASH_H */ #endif
#ifndef _STACK_H #ifndef _MAGIC__UTILS__STACK_H
#include "utils/stack.h" #include "utils/stack.h"
#endif /* _STACK_H */ #endif
#ifndef _BPLANE_H #ifndef _MAGIC__BPLANE__BPLANE_H
#include "bplane/bplane.h" #include "bplane/bplane.h"
#endif /* _BPLANE_H */ #endif
/* ----------------------- Tunable constants -------------------------- */ /* ----------------------- Tunable constants -------------------------- */

View File

@ -13,9 +13,9 @@
#ifndef _MAGIC__DATABASE__FONTS_H #ifndef _MAGIC__DATABASE__FONTS_H
#define _MAGIC__DATABASE__FONTS_H #define _MAGIC__DATABASE__FONTS_H
#ifndef _TILES_H #ifndef _MAGIC__TILES__TILE_H
#include "tiles/tile.h" #include "tiles/tile.h"
#endif /* _TILES_H */ #endif
/* ---------------------------- Fonts --------------------------------- */ /* ---------------------------- Fonts --------------------------------- */

View File

@ -187,14 +187,14 @@ typedef struct def
* structure describes the indices and the separation between elements * structure describes the indices and the separation between elements
* (for computing transforms). * (for computing transforms).
*/ */
#ifndef _DATABASE_H #ifndef _MAGIC__DATABASE__DATABASE_H
typedef struct typedef struct
{ {
int ar_xlo, ar_xhi; int ar_xlo, ar_xhi;
int ar_ylo, ar_yhi; int ar_ylo, ar_yhi;
int ar_xsep, ar_ysep; int ar_xsep, ar_ysep;
} ArrayInfo; } ArrayInfo;
#endif /* _DATABASE_H */ #endif /* _MAGIC__DATABASE__DATABASE_H */
typedef struct use typedef struct use
{ {

View File

@ -39,15 +39,15 @@
* the head of that function. * the head of that function.
*/ */
#ifndef _MAGIC_H #ifndef _MAGIC__UTILS__MAGIC_H
#include "utils/magic.h" #include "utils/magic.h"
#endif #endif
#ifndef _MZROUTER_H #ifndef _MAGIC__MZROUTER__MZROUTER_H
#include "mzrouter/mzrouter.h" #include "mzrouter/mzrouter.h"
#endif #endif
#ifndef _HEAP_H #ifndef _MAGIC__UTILS__HEAP_H
#include "utils/heap.h" #include "utils/heap.h"
#endif #endif

View File

@ -23,10 +23,10 @@
#ifndef _MAGIC__TILES__TILE_H #ifndef _MAGIC__TILES__TILE_H
#define _MAGIC__TILES__TILE_H #define _MAGIC__TILES__TILE_H
#ifndef _MAGIC_H #ifndef _MAGIC__UTILS__MAGIC_H
#include "utils/magic.h" #include "utils/magic.h"
#endif #endif
#ifndef _GEOMETRY_H #ifndef _MAGIC__UTILS__GEOMETRY_H
#include "utils/geometry.h" #include "utils/geometry.h"
#endif #endif