]> Kevux Git Server - fll/commitdiff
Cleanup: Make the object parameter array a constant pointer.
authorKevin Day <Kevin@kevux.org>
Sat, 8 Mar 2025 03:41:02 +0000 (21:41 -0600)
committerKevin Day <Kevin@kevux.org>
Sat, 8 Mar 2025 03:41:02 +0000 (21:41 -0600)
level_3/fake/c/main/build/object.c

index 1bbb77c4ecb293f65d906eafbc4f97c9bbf6e8f6..a0ec0bb35dcd0dc5256c1e4cc38de61a46748325 100644 (file)
@@ -59,7 +59,7 @@ extern "C" {
       } // for
     }
 
-    const f_string_dynamics_t *sources[2] = {
+    const f_string_dynamics_t * const sources[2] = {
       &data_build->setting.build_sources_object,
       shared ? &data_build->setting.build_sources_object_shared : &data_build->setting.build_sources_object_static,
     };