]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/testsuite/gentestdlls.c
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / binutils / testsuite / gentestdlls.c
index 09bbe3319f03445fe06bfca2381088372c43d5f6..6eef3a9b066086e1563dd6283988f05cf49db925 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2019 Free Software Foundation, Inc.
+/* Copyright (C) 2019-2021 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -129,6 +129,7 @@ main (int argc, char** argv)
 {
   char* program_name = argv[0];
   char* output_directory = argv[1];
+  int i;
 
   if (argc < 3)
     {
@@ -150,7 +151,7 @@ main (int argc, char** argv)
      platforms.  See https://github.com/jbevain/cecil/issues/337 for an
      example of this value being used in practice.  */
 
-  for (int i = 2; i < argc; i++)
+  for (i = 2; i < argc; i++)
     {
       char* wanted_format = argv[i];