* readelf.c (parse_args): Change debug_dump_opt to static.
authorAlan Modra <amodra@gmail.com>
Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)
binutils/ChangeLog
binutils/readelf.c

index 9b0a306f9fdf70b8f0ff7778eaab2c088e19d28b..08ce5a9250f5bcb1f03e0368e27b395e95527067 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * readelf.c (parse_args): Change debug_dump_opt to static.
+
 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
 
        * stabs.c (parse_stab_argtype): Pass length of physname to
index b0a79340ca2114b5244682fc7e0e193d33556ad1..ea0aa023701ef018ccf1d3e992207a7eea5bb8a2 100644 (file)
@@ -2517,7 +2517,7 @@ parse_args (argc, argv)
            do_debugging = 1;
          else
            {
-             const char *debug_dump_opt[]
+             static const char *debug_dump_opt[]
                = { "line", "info", "abbrev", "pubnames", "ranges",
                    "macro", "frames", "frames-interp", "str", "loc", NULL };
              unsigned int index;