Skip to content

Commit

Permalink
[Maintenance] Add include guards to ReC98.h
Browse files Browse the repository at this point in the history
They do make everything so much simpler, after all. Especially now that
th01/formats/grz.cpp should compile as a freestanding translation unit,
as part of the .GRZ viewer.

Part of P0082, funded by Ember2528.
  • Loading branch information
nmlgc committed Mar 13, 2020
1 parent 7663434 commit 7017653
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ReC98.h
Expand Up @@ -3,6 +3,9 @@
* Main include file
*/

#ifndef REC98_H
#define REC98_H

#include <master.h>
#include <stddef.h>
#include "platform.h"
Expand Down Expand Up @@ -137,3 +140,5 @@ extern dots8_t *VRAM_PLANE_E;

void pascal vram_planes_set(void);
// -----------------

#endif /* REC98_H */
1 change: 0 additions & 1 deletion th01/formats/grz.cpp
Expand Up @@ -5,7 +5,6 @@ extern "C" {
#include <stddef.h>
#include <string.h>

#include <master.h>
#include "ReC98.h"
#include "th01/hardware/graph.h"
#include "th01/formats/grz.h"
Expand Down

0 comments on commit 7017653

Please sign in to comment.