aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-04-16 18:03:51 +0000
committerSteve Chamberlain <sac@cygnus>1992-04-16 18:03:51 +0000
commit1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4 (patch)
tree61f768d281c54048ccc310c3b2eaf6e2b39bfdc0 /ld/ldlang.h
parent888cf6797f060ee485a5bc995579696fef5b83a7 (diff)
downloadgdb-1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4.zip
gdb-1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4.tar.gz
gdb-1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4.tar.bz2
Lint found by Rich and gcc
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index acd039d..d5dc21b 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -43,6 +43,8 @@ typedef struct memory_region_struct {
bfd_offset length;
bfd_vma current;
int flags;
+ boolean had_full_message;
+
} lang_memory_region_type ;
typedef struct lang_statement_header_struct
@@ -256,7 +258,7 @@ PROTO(struct memory_region_struct ,
char *CONST));
-PROTO(void ,lang_map,(FILE *));
+PROTO(void ,lang_map,(void));
PROTO(void,lang_set_flags,(int *, CONST char *));
PROTO(void,lang_add_output,(CONST char *));
@@ -321,9 +323,9 @@ PROTO(lang_output_section_statement_type
*,lang_output_section_find,(CONST char * CONST));
PROTO(lang_input_statement_type *,
- lang_add_input_file,(char *name,
+ lang_add_input_file,(CONST char *name,
lang_input_file_enum_type file_type,
- char *target));
+ CONST char *target));
PROTO(lang_output_section_statement_type *,
lang_output_section_statement_lookup,(CONST char * CONST name));
@@ -334,3 +336,6 @@ PROTO(void, lang_add_output_format,(CONST char *));
void EXFUN(lang_list_init,( lang_statement_list_type*));
void EXFUN(lang_add_data,(int type, union etree_union *));
+
+void EXFUN(lang_for_each_statement,(void (*func)()));
+