aboutsummaryrefslogtreecommitdiff
path: root/ld/deffilep.y
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 15:27:48 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 15:27:48 +0000
commit1069dd8da73d903c6d53719ae8bdb63c1791a9aa (patch)
tree84eec29828271069c4fb9e569a512a0124de7ec6 /ld/deffilep.y
parent2be9b2c7eec52f046c05d25ebb6f537d686000fc (diff)
downloadgdb-1069dd8da73d903c6d53719ae8bdb63c1791a9aa.zip
gdb-1069dd8da73d903c6d53719ae8bdb63c1791a9aa.tar.gz
gdb-1069dd8da73d903c6d53719ae8bdb63c1791a9aa.tar.bz2
* pe-dll.h: New file.
* pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed to avoid warnings. (edata_sz, reloc_sz): Change from int to size_t. (pe_details_type): Change type of imagebase_reloc from int to unsigned int. (pe_detail_list): Fully initialize last entry. (pe_dll_id_target): Change parameter to const. (pe_dll_generate_def_file): Likewise. (pe_dll_generate_implib): Likewise. (pe_implied_import_dll): Likewise. Change dll_name to const. * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in pe-dll.h. (init): Fully initialize __dll__ entry. (gld_${EMULATION_NAME}_after_open): Remove unused variables sequence, elt, and i. * deffile.h: Add preprocessor guard. * deffilep.y (def_debug): Remove. * Makefile.am: Rebuild dependencies. (HFILES): Add pe-dll.h.
Diffstat (limited to 'ld/deffilep.y')
-rw-r--r--ld/deffilep.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/deffilep.y b/ld/deffilep.y
index aacde6b..70e517c 100644
--- a/ld/deffilep.y
+++ b/ld/deffilep.y
@@ -93,7 +93,6 @@ static void def_version PARAMS ((int, int));
static void def_directive PARAMS ((char *));
static int def_parse PARAMS ((void));
static int def_error PARAMS ((const char *));
-static int def_debug;
static int def_lex PARAMS ((void));
static int lex_forced_token = 0;