From bcfc2fb36459c3316f0a3346c19adb5987cc4641 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 15:27:48 +0000 Subject: * 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. --- ld/deffilep.y | 1 - 1 file changed, 1 deletion(-) (limited to 'ld/deffilep.y') 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; -- cgit v1.2.1