ENH: Use <> instead of quotation marks for header includes
The following header files are present multiple times in the directories list. rtnhdr.h sr_unix sr_unix_nsb zbreaksp.h sr_unix sr_i386 emit_code.h sr_port sr_i386 auto_zlink.h sr_unix sr_i386 obj_filesp.h sr_unix sr_unix_nsb opcode_def.h sr_port sr_unix_nsb This over lap meant that a #include "header.h" chose the header in the same directory as a C file instead of the one listed in the compile line include directory listing.
This commit is contained in:
parent
f061fe0c88
commit
e7f480d540
|
@ -17,7 +17,7 @@
|
||||||
#include "urx.h"
|
#include "urx.h"
|
||||||
#include "rtnhdr.h"
|
#include "rtnhdr.h"
|
||||||
#include "op.h"
|
#include "op.h"
|
||||||
#include "auto_zlink.h"
|
#include <auto_zlink.h>
|
||||||
|
|
||||||
#define PEA_SZ 5
|
#define PEA_SZ 5
|
||||||
#define XFER_BYTE_SZ 3
|
#define XFER_BYTE_SZ 3
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "obj_gen.h"
|
#include "obj_gen.h"
|
||||||
#include "i386.h"
|
#include "i386.h"
|
||||||
#include "obj_file.h"
|
#include "obj_file.h"
|
||||||
#include "emit_code.h"
|
#include <emit_code.h>
|
||||||
#include "hashtab_mname.h"
|
#include "hashtab_mname.h"
|
||||||
#include "stddef.h"
|
#include "stddef.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#ifndef OBJ_FILE_INCLUDED
|
#ifndef OBJ_FILE_INCLUDED
|
||||||
#define OBJ_FILE_INCLUDED
|
#define OBJ_FILE_INCLUDED
|
||||||
|
|
||||||
#include "obj_filesp.h"
|
#include <obj_filesp.h>
|
||||||
|
|
||||||
void emit_immed(char *source, uint4 size);
|
void emit_immed(char *source, uint4 size);
|
||||||
void emit_literals(void);
|
void emit_literals(void);
|
||||||
|
|
|
@ -16,6 +16,6 @@
|
||||||
LITDEF octabstruct oc_tab[] =
|
LITDEF octabstruct oc_tab[] =
|
||||||
{
|
{
|
||||||
#define OPCODE_DEF(A,B) {B},
|
#define OPCODE_DEF(A,B) {B},
|
||||||
#include "opcode_def.h"
|
#include <opcode_def.h>
|
||||||
};
|
};
|
||||||
#undef OPCODE_DEF
|
#undef OPCODE_DEF
|
||||||
|
|
|
@ -16,6 +16,6 @@
|
||||||
LITDEF char *oc_tab_graphic[] =
|
LITDEF char *oc_tab_graphic[] =
|
||||||
{
|
{
|
||||||
#define OPCODE_DEF(A,B) #A,
|
#define OPCODE_DEF(A,B) #A,
|
||||||
#include "opcode_def.h"
|
#include <opcode_def.h>
|
||||||
};
|
};
|
||||||
#undef OPCODE_DEF
|
#undef OPCODE_DEF
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
enum opcode_enum
|
enum opcode_enum
|
||||||
{
|
{
|
||||||
#include "opcode_def.h"
|
#include <opcode_def.h>
|
||||||
OPCODE_COUNT
|
OPCODE_COUNT
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include <rtnhdr.h>
|
#include <rtnhdr.h>
|
||||||
#include "op.h"
|
#include "op.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
#include "emit_code.h"
|
#include <emit_code.h>
|
||||||
#include "gtmci.h"
|
#include "gtmci.h"
|
||||||
#include "inst_flush.h"
|
#include "inst_flush.h"
|
||||||
#include "obj_file.h"
|
#include "obj_file.h"
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "opcode.h"
|
#include "opcode.h"
|
||||||
#include "mdq.h"
|
#include "mdq.h"
|
||||||
#include "cgp.h"
|
#include "cgp.h"
|
||||||
#include "emit_code.h"
|
#include <emit_code.h>
|
||||||
#include "rtnhdr.h"
|
#include "rtnhdr.h"
|
||||||
#include "obj_file.h"
|
#include "obj_file.h"
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "vxt.h"
|
#include "vxt.h"
|
||||||
#include "cgp.h"
|
#include "cgp.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
#include "emit_code.h"
|
#include <emit_code.h>
|
||||||
GBLDEF struct emit_base_info emit_base_info;
|
GBLDEF struct emit_base_info emit_base_info;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
#include "gtmio.h"
|
#include "gtmio.h"
|
||||||
#include "mmemory.h"
|
#include "mmemory.h"
|
||||||
#include "obj_file.h"
|
#include "obj_file.h"
|
||||||
#include "obj_filesp.h"
|
#include <obj_filesp.h>
|
||||||
#include "release_name.h"
|
#include "release_name.h"
|
||||||
#include "min_max.h"
|
#include "min_max.h"
|
||||||
/* The following definitions are reqquired for the new(for ELF files) create/close_obj_file.c functions */
|
/* The following definitions are reqquired for the new(for ELF files) create/close_obj_file.c functions */
|
||||||
|
|
Loading…
Reference in New Issue