From 081310158f46d3f33b6ea5dde29d10818eaeb0b3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 27 Aug 2001 08:52:50 +0000 Subject: [PATCH] Declare BSIZE as static --- ld/ChangeLog | 4 ++++ ld/ldmain.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index c29a986074e..c59911efdf8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2001-08-27 Nick Clifton + + * ldmain.c (main): Declare BSIZE as static. + 2001-08-23 Jakub Jelinek * emultempl/elf32.em (place_orphan): Place orphan .rel* sections diff --git a/ld/ldmain.c b/ld/ldmain.c index b7114f9e63d..f419499a1ff 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); -- 2.30.2