aboutsummaryrefslogtreecommitdiff
path: root/ld/deffile.h
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/deffile.h
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/deffile.h')
-rw-r--r--ld/deffile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/deffile.h b/ld/deffile.h
index 3c6c1ce..e2c710d 100644
--- a/ld/deffile.h
+++ b/ld/deffile.h
@@ -19,6 +19,9 @@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#ifndef DEFFILE_H
+#define DEFFILE_H
+
#include "ansidecl.h"
/* DEF storage definitions. Note that any ordinal may be zero, and
@@ -121,3 +124,5 @@ extern void def_file_add_directive PARAMS ((def_file * _def,
extern void def_file_print PARAMS ((FILE * _file,
def_file * _def));
#endif
+
+#endif /* DEFFILE_H */