summaryrefslogtreecommitdiff
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
commitbcfc2fb36459c3316f0a3346c19adb5987cc4641 (patch)
treea43ad39281ee561fc6e243f66fea606e9e262957 /ld/deffilep.y
parenta7cb5999c15666b440aebbc18496f1b1c88b913c (diff)
downloadbinutils-redhat-bcfc2fb36459c3316f0a3346c19adb5987cc4641.tar.gz
* 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 aacde6b989..70e517c486 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;