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:
Amul Shah 2012-06-15 13:29:37 -04:00
parent f061fe0c88
commit e7f480d540
10 changed files with 10 additions and 10 deletions

View File

@ -17,7 +17,7 @@
#include "urx.h"
#include "rtnhdr.h"
#include "op.h"
#include "auto_zlink.h"
#include <auto_zlink.h>
#define PEA_SZ 5
#define XFER_BYTE_SZ 3

View File

@ -23,7 +23,7 @@
#include "obj_gen.h"
#include "i386.h"
#include "obj_file.h"
#include "emit_code.h"
#include <emit_code.h>
#include "hashtab_mname.h"
#include "stddef.h"

View File

@ -12,7 +12,7 @@
#ifndef OBJ_FILE_INCLUDED
#define OBJ_FILE_INCLUDED
#include "obj_filesp.h"
#include <obj_filesp.h>
void emit_immed(char *source, uint4 size);
void emit_literals(void);

View File

@ -16,6 +16,6 @@
LITDEF octabstruct oc_tab[] =
{
#define OPCODE_DEF(A,B) {B},
#include "opcode_def.h"
#include <opcode_def.h>
};
#undef OPCODE_DEF

View File

@ -16,6 +16,6 @@
LITDEF char *oc_tab_graphic[] =
{
#define OPCODE_DEF(A,B) #A,
#include "opcode_def.h"
#include <opcode_def.h>
};
#undef OPCODE_DEF

View File

@ -13,7 +13,7 @@
enum opcode_enum
{
#include "opcode_def.h"
#include <opcode_def.h>
OPCODE_COUNT
};

View File

@ -18,7 +18,7 @@
#include <rtnhdr.h>
#include "op.h"
#include "compiler.h"
#include "emit_code.h"
#include <emit_code.h>
#include "gtmci.h"
#include "inst_flush.h"
#include "obj_file.h"

View File

@ -14,7 +14,7 @@
#include "opcode.h"
#include "mdq.h"
#include "cgp.h"
#include "emit_code.h"
#include <emit_code.h>
#include "rtnhdr.h"
#include "obj_file.h"

View File

@ -24,7 +24,7 @@
#include "vxt.h"
#include "cgp.h"
#include "compiler.h"
#include "emit_code.h"
#include <emit_code.h>
GBLDEF struct emit_base_info emit_base_info;

View File

@ -49,7 +49,7 @@
#include "gtmio.h"
#include "mmemory.h"
#include "obj_file.h"
#include "obj_filesp.h"
#include <obj_filesp.h>
#include "release_name.h"
#include "min_max.h"
/* The following definitions are reqquired for the new(for ELF files) create/close_obj_file.c functions */