aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-07-08 20:25:26 +0000
committerKen Raeburn <raeburn@cygnus>1993-07-08 20:25:26 +0000
commit5af8e9d6a1fe0e53d896e7c700abc910c481594c (patch)
tree9bcf407fa3c9a9b62f726f815a2ed38ff7471862 /ld
parent58bf66f96ef8b4d5ebc78f638805ff0f30a68100 (diff)
downloadgdb-5af8e9d6a1fe0e53d896e7c700abc910c481594c.zip
gdb-5af8e9d6a1fe0e53d896e7c700abc910c481594c.tar.gz
gdb-5af8e9d6a1fe0e53d896e7c700abc910c481594c.tar.bz2
(new_stetement): Size argument is now type size_t.
Added forward declaration with prototype.
Diffstat (limited to 'ld')
-rw-r--r--ld/ldlang.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 95580eb..b53a2fa 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -36,6 +36,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
static void print_statements PARAMS ((void));
static void print_statement PARAMS ((lang_statement_union_type *,
lang_output_section_statement_type *));
+static lang_statement_union_type *new_statement PARAMS ((enum statement_enum,
+ size_t,
+ lang_statement_list_type*));
+
/* LOCALS */
static struct obstack stat_obstack;
@@ -220,7 +224,7 @@ static
lang_statement_union_type *
new_statement (type, size, list)
enum statement_enum type;
- bfd_size_type size;
+ size_t size;
lang_statement_list_type * list;
{
lang_statement_union_type *new = (lang_statement_union_type *)