Forward declare struct Section to avoid a nested header include

This commit is contained in:
Rangi42
2024-08-26 22:45:25 -04:00
committed by Sylvie
parent 4ce6c9f4a5
commit b77ba1d87d
3 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
#ifndef RGBDS_LINK_OUTPUT_HPP #ifndef RGBDS_LINK_OUTPUT_HPP
#define RGBDS_LINK_OUTPUT_HPP #define RGBDS_LINK_OUTPUT_HPP
#include "link/section.hpp" struct Section;
/* /*
* Registers a section for output. * Registers a section for output.

View File

@@ -10,7 +10,6 @@
#include "asm/fixpoint.hpp" #include "asm/fixpoint.hpp"
#include "asm/fstack.hpp" #include "asm/fstack.hpp"
#include "asm/lexer.hpp" #include "asm/lexer.hpp"
#include "asm/main.hpp"
#include "asm/section.hpp" #include "asm/section.hpp"
#include "asm/warning.hpp" #include "asm/warning.hpp"

View File

@@ -17,6 +17,7 @@
#include "platform.hpp" #include "platform.hpp"
#include "link/main.hpp" #include "link/main.hpp"
#include "link/section.hpp"
#include "link/symbol.hpp" #include "link/symbol.hpp"
#define BANK_SIZE 0x4000 #define BANK_SIZE 0x4000