aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-27 08:52:50 +0000
committerNick Clifton <nickc@redhat.com>2001-08-27 08:52:50 +0000
commit081310158f46d3f33b6ea5dde29d10818eaeb0b3 (patch)
treea77c1aeb5b86e12287a33ed88d9660c0aef584b2 /ld
parent526eeb95b80954ae99a4c60fc96a669969089d9b (diff)
downloadgdb-081310158f46d3f33b6ea5dde29d10818eaeb0b3.zip
gdb-081310158f46d3f33b6ea5dde29d10818eaeb0b3.tar.gz
gdb-081310158f46d3f33b6ea5dde29d10818eaeb0b3.tar.bz2
Declare BSIZE as static
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldmain.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c29a986..c59911e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * ldmain.c (main): Declare BSIZE as static.
+
2001-08-23 Jakub Jelinek <jakub@redhat.com>
* emultempl/elf32.em (place_orphan): Place orphan .rel* sections
diff --git a/ld/ldmain.c b/ld/ldmain.c
index b7114f9..f419499 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -325,7 +325,7 @@ main (argc, argv)
if (saved_script_handle)
{
- const int BSIZE = 8192;
+ static const int BSIZE = 8192;
size_t n;
char *buf = xmalloc (BSIZE);