]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libcc1/context.cc
Update copyright years.
[thirdparty/gcc.git] / libcc1 / context.cc
index 3263c167ff2e489f0841f418e144ac2fb043ce42..b4f3fd1fb33a92446849325967a3cada8782fcda 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic plugin context
-   Copyright (C) 2020-2023 Free Software Foundation, Inc.
+   Copyright (C) 2020-2024 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -63,7 +63,7 @@ cc1_plugin::plugin_context *cc1_plugin::current_context;
 
 static void
 plugin_print_error_function (diagnostic_context *context, const char *file,
-                            diagnostic_info *diagnostic)
+                            const diagnostic_info *diagnostic)
 {
   if (current_function_decl != NULL_TREE
       && DECL_NAME (current_function_decl) != NULL_TREE