]> Kevux Git Server - fll/commitdiff
Cleanup: Fix ordering of function fake_build_load_environment().
authorKevin Day <kevin@kevux.org>
Sun, 5 Mar 2023 01:34:10 +0000 (19:34 -0600)
committerKevin Day <kevin@kevux.org>
Sun, 5 Mar 2023 01:34:10 +0000 (19:34 -0600)
level_3/fake/c/private-build-load.h

index 024a58d6631b63e161b41a52e5e055624d6ddd61..0f1629310828096e70f608b4c5eaac9fedcc47af 100644 (file)
 extern "C" {
 #endif
 
+/**
+ * Load the environment used when executing commands.
+ *
+ * @param data
+ *   The program data.
+ * @param data_build
+ *   The build data.
+ * @param environment
+ *   The environment data.
+ * @param status
+ *   The return status.
+ *
+ * @return
+ *   F_none on success.
+ *
+ *   Status codes (with error bit) are returned on any problem.
+ */
+#ifndef _di_fake_build_load_environment_
+  extern void fake_build_load_environment(fake_data_t * const data, fake_build_data_t * const data_build, f_string_maps_t * const environment, f_status_t * const status) F_attribute_visibility_internal_d;
+#endif // _di_fake_build_load_environment_
+
 /**
  * Find the build setting file, load it, validate it, and process it.
  *
@@ -109,27 +130,6 @@ extern "C" {
   extern void fake_build_load_setting_process(fake_data_t * const data, const bool checks, const f_string_static_t path_file, const f_string_statics_t * const modes_custom, const f_string_static_t buffer, const f_fss_objects_t objects, const f_fss_contents_t contents, fake_build_setting_t * const setting, f_status_t * const status) F_attribute_visibility_internal_d;
 #endif // _di_fake_build_load_setting_process_
 
-/**
- * Load the environment used when executing commands.
- *
- * @param data
- *   The program data.
- * @param data_build
- *   The build data.
- * @param environment
- *   The environment data.
- * @param status
- *   The return status.
- *
- * @return
- *   F_none on success.
- *
- *   Status codes (with error bit) are returned on any problem.
- */
-#ifndef _di_fake_build_load_environment_
-  extern void fake_build_load_environment(fake_data_t * const data, fake_build_data_t * const data_build, f_string_maps_t * const environment, f_status_t * const status) F_attribute_visibility_internal_d;
-#endif // _di_fake_build_load_environment_
-
 /**
  * Load the stage file paths.
  *