LTO plugin: sync header file with GCC
[binutils-gdb.git] / binutils / bfdtest2.c
index eab1e3c2a45b1470df0d80d63742715026fad945..0c47eff2c9352fd6f3621584420e2753b197cdcf 100644 (file)
@@ -1,5 +1,5 @@
 /* A program to test BFD.\r
-   Copyright (C) 2012-2019 Free Software Foundation, Inc.
+   Copyright (C) 2012-2022 Free Software Foundation, Inc.
 \r
    This file is part of the GNU Binutils.\r
 \r
@@ -53,13 +53,13 @@ iovec_stat (struct bfd *abfd ATTRIBUTE_UNUSED,
   return fstat (fileno ((FILE*) stream), sb);\r
 }\r
 \r
-static bfd_boolean\r
+static bool\r
 check_format_any (struct bfd *abfd, bfd_format format)\r
 {\r
   char** targets = NULL;\r
 \r
   if (bfd_check_format_matches (abfd, format, &targets))\r
-    return TRUE;\r
+    return true;\r
 \r
   if (targets)\r
     {\r
@@ -68,7 +68,7 @@ check_format_any (struct bfd *abfd, bfd_format format)
       return bfd_check_format (abfd, format);\r
     }\r
 \r
-  return FALSE;\r
+  return false;\r
 }\r
 \r
 int\r