mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 19:25:43 +00:00
Forward declare struct Section to avoid a nested header include
This commit is contained in:
1 parent
4ce6c9f4a5
commit
b77ba1d87d
3 files changed
+2
-2
No files matched your search
@@ -3,7 +3,7 @@
|
||||
#ifndef RGBDS_LINK_OUTPUT_HPP
|
||||
#define RGBDS_LINK_OUTPUT_HPP
|
||||
|
||||
#include "link/section.hpp"
|
||||
struct Section;
|
||||
|
||||
/*
|
||||
* Registers a section for output.
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "asm/fixpoint.hpp"
|
||||
#include "asm/fstack.hpp"
|
||||
#include "asm/lexer.hpp"
|
||||
#include "asm/main.hpp"
|
||||
#include "asm/section.hpp"
|
||||
#include "asm/warning.hpp"
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "platform.hpp"
|
||||
|
||||
#include "link/main.hpp"
|
||||
#include "link/section.hpp"
|
||||
#include "link/symbol.hpp"
|
||||
|
||||
#define BANK_SIZE 0x4000
|
||||
|
||||
Reference in new issue
Block a user