Fix PDB compilation with TCC

This commit is contained in:
Anton Kochkov 2015-10-06 01:46:06 +03:00
parent 82eed6f2a5
commit c4bf5ae8be
15 changed files with 8 additions and 22 deletions

View File

@ -1,5 +1,5 @@
#include "types.h"
#include "dbi.h" #include "dbi.h"
#include "stream_file.h" #include "stream_file.h"
#include "tpi.h" #include "tpi.h"

View File

@ -1,8 +1,6 @@
#ifndef DBI_H #ifndef DBI_H
#define DBI_H #define DBI_H
#include "types.h"
void init_dbi_stream(SDbiStream *dbi_stream); void init_dbi_stream(SDbiStream *dbi_stream);
void parse_dbi_stream(void *parsed_pdb_stream, R_STREAM_FILE *stream_file); void parse_dbi_stream(void *parsed_pdb_stream, R_STREAM_FILE *stream_file);

View File

@ -1,5 +1,5 @@
#include "types.h"
#include "fpo.h" #include "fpo.h"
#include "stream_file.h" #include "stream_file.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1,8 +1,6 @@
#ifndef FPO_H #ifndef FPO_H
#define FPO_H #define FPO_H
#include "types.h"
void free_fpo_stream(void *stream); void free_fpo_stream(void *stream);
void parse_fpo_stream(void *stream, R_STREAM_FILE *stream_file); void parse_fpo_stream(void *stream, R_STREAM_FILE *stream_file);

View File

@ -1,5 +1,5 @@
#include "types.h"
#include "gdata.h" #include "gdata.h"
#include "stream_file.h" #include "stream_file.h"
#include "tpi.h" #include "tpi.h"

View File

@ -1,8 +1,6 @@
#ifndef GDATA_H #ifndef GDATA_H
#define GDATA_H #define GDATA_H
#include "types.h"
void parse_gdata_stream(void *stream, R_STREAM_FILE *stream_file); void parse_gdata_stream(void *stream, R_STREAM_FILE *stream_file);
void free_gdata_stream(void *stream); void free_gdata_stream(void *stream);

View File

@ -1,6 +1,5 @@
#include "omap.h"
#include "types.h" #include "types.h"
#include "omap.h"
#include "stream_file.h" #include "stream_file.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1,8 +1,6 @@
#ifndef OMAP_H #ifndef OMAP_H
#define OMAP_H #define OMAP_H
#include "types.h"
void parse_omap_stream(void *stream, R_STREAM_FILE *stream_file); void parse_omap_stream(void *stream, R_STREAM_FILE *stream_file);
void free_omap_stream(void *stream); void free_omap_stream(void *stream);
int omap_remap(void *stream, int address); int omap_remap(void *stream, int address);

View File

@ -3,8 +3,8 @@
#include <r_pdb.h> #include <r_pdb.h>
#include <string.h> #include <string.h>
#include "stream_file.h"
#include "types.h" #include "types.h"
#include "stream_file.h"
#include "tpi.h" #include "tpi.h"
#include "dbi.h" #include "dbi.h"
#include "fpo.h" #include "fpo.h"

View File

@ -1,5 +1,5 @@
#include "types.h"
#include "pe.h" #include "pe.h"
#include "stream_file.h" #include "stream_file.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1,8 +1,6 @@
#ifndef PE_H #ifndef PE_H
#define PE_H #define PE_H
#include "types.h"
void parse_pe_stream(void *stream, R_STREAM_FILE *stream_file); void parse_pe_stream(void *stream, R_STREAM_FILE *stream_file);
void free_pe_stream(void *stream); void free_pe_stream(void *stream);

View File

@ -1,3 +1,4 @@
#include "types.h"
#include "stream_file.h" #include "stream_file.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -2,7 +2,6 @@
#define STREAM_FILE_H #define STREAM_FILE_H
#include <stdio.h> #include <stdio.h>
#include "types.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
/// size = -1 (default value) /// size = -1 (default value)

View File

@ -1,6 +1,5 @@
#include "types.h"
#include "tpi.h" #include "tpi.h"
#include "stream_file.h" #include "stream_file.h"
static unsigned int base_idx = 0; static unsigned int base_idx = 0;

View File

@ -1,8 +1,6 @@
#ifndef TPI_H #ifndef TPI_H
#define TPI_H #define TPI_H
#include "types.h"
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
void init_tpi_stream(STpiStream *tpi_stream); void init_tpi_stream(STpiStream *tpi_stream);