Declare BSIZE as static
authorNick Clifton <nickc@redhat.com>
Mon, 27 Aug 2001 08:52:50 +0000 (08:52 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Aug 2001 08:52:50 +0000 (08:52 +0000)
ld/ChangeLog
ld/ldmain.c

index c29a986..c59911e 100644 (file)
@@ -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
index b7114f9..f419499 100644 (file)
@@ -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);