Remove unused "MAX_PATH" header

The header's name was also quite misleading.
Also remove an unused define in `asm/symbol.h`.
This commit is contained in:
ISSOtm
2021-11-07 01:46:25 +01:00
parent b04e71ed34
commit 54293a9184
5 changed files with 5 additions and 24 deletions

View File

@@ -19,7 +19,6 @@
#include "asm/lexer.h"
#include "types.h"
struct FileStackNode {
struct FileStackNode *parent; /* Pointer to parent node, for error reporting */

View File

@@ -17,10 +17,8 @@
#include "asm/section.h"
#include "platform.h" // MIN_NB_ELMS
#include "types.h"
#define HASHSIZE (1 << 16)
#define MAXSYMLEN 256
#define MAXSYMLEN 255
enum SymbolType {
SYM_LABEL,

View File

@@ -1,16 +0,0 @@
/*
* This file is part of RGBDS.
*
* Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors.
*
* SPDX-License-Identifier: MIT
*/
#ifndef RGBDS_TYPES_H
#define RGBDS_TYPES_H
#ifndef _MAX_PATH
#define _MAX_PATH 512
#endif
#endif /* RGBDS_TYPES_H */