]> Kevux Git Server - fll/commitdiff
Bugfix: Missing "extern" in const static strings.
authorKevin Day <thekevinday@gmail.com>
Sat, 12 Feb 2022 00:06:46 +0000 (18:06 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 12 Feb 2022 00:17:21 +0000 (18:17 -0600)
level_2/fll_fss_status_string/c/fss_status_string.c
level_2/fll_fss_status_string/c/fss_status_string.h
level_3/fss_identify/c/common.h
level_3/fss_status_code/c/common.h

index cbf6775a5ee07849ff64d8f8fcdae1a61eeb384a..a3a859c43c33db4da34136161dd40206b866e334 100644 (file)
@@ -16,11 +16,11 @@ extern "C" {
   #endif // _di_fll_fss_status_warning_
 
   #ifndef _di_fll_fss_status_success_
-    const f_string_static_t fll_fss_status_found_object_s = macro_f_string_static_t_initialize(FLL_fss_status_found_object_s, 0, FLL_fss_status_found_object_s_length);
     const f_string_static_t fll_fss_status_found_content_s = macro_f_string_static_t_initialize(FLL_fss_status_found_content_s, 0, FLL_fss_status_found_content_s_length);
-    const f_string_static_t fll_fss_status_found_object_not_s = macro_f_string_static_t_initialize(FLL_fss_status_found_object_not_s, 0, FLL_fss_status_found_object_not_s_length);
     const f_string_static_t fll_fss_status_found_content_not_s = macro_f_string_static_t_initialize(FLL_fss_status_found_content_not_s, 0, FLL_fss_status_found_content_not_s_length);
+    const f_string_static_t fll_fss_status_found_object_s = macro_f_string_static_t_initialize(FLL_fss_status_found_object_s, 0, FLL_fss_status_found_object_s_length);
     const f_string_static_t fll_fss_status_found_object_content_not_s = macro_f_string_static_t_initialize(FLL_fss_status_found_object_content_not_s, 0, FLL_fss_status_found_object_content_not_s_length);
+    const f_string_static_t fll_fss_status_found_object_not_s = macro_f_string_static_t_initialize(FLL_fss_status_found_object_not_s, 0, FLL_fss_status_found_object_not_s_length);
   #endif // _di_fll_fss_status_success_
 
   #ifndef _di_fll_fss_status_codes_
index 260bad8925723860d5fc3147812a784a5593ccbc..71f34ff32e3a44966f8e60fa3360c15b8a674e36 100644 (file)
@@ -35,8 +35,8 @@ extern "C" {
     #define FLL_fss_status_format_s_length     12
     #define FLL_fss_status_format_eos_s_length 16
 
-    const f_string_static_t fll_fss_status_format_s;
-    const f_string_static_t fll_fss_status_format_eos_s;
+    extern const f_string_static_t fll_fss_status_format_s;
+    extern const f_string_static_t fll_fss_status_format_eos_s;
   #endif // _di_fll_fss_status_error_
 
   #ifndef _di_fll_fss_status_warning_
@@ -46,28 +46,28 @@ extern "C" {
     #define FLL_fss_status_accepted_invalid_s_length     22
     #define FLL_fss_status_accepted_invalid_eos_s_length 26
 
-    const f_string_static_t fll_fss_status_accepted_invalid_s;
-    const f_string_static_t fll_fss_status_accepted_invalid_eos_s;
+    extern const f_string_static_t fll_fss_status_accepted_invalid_s;
+    extern const f_string_static_t fll_fss_status_accepted_invalid_eos_s;
   #endif // _di_fll_fss_status_warning_
 
   #ifndef _di_fll_fss_status_success_
-    #define FLL_fss_status_found_object_s             "F_fss_found_object"
     #define FLL_fss_status_found_content_s            "F_fss_found_content"
-    #define FLL_fss_status_found_object_not_s         "F_fss_found_object_not"
     #define FLL_fss_status_found_content_not_s        "F_fss_found_content_not"
+    #define FLL_fss_status_found_object_s             "F_fss_found_object"
     #define FLL_fss_status_found_object_content_not_s "F_fss_found_object_content_not"
+    #define FLL_fss_status_found_object_not_s         "F_fss_found_object_not"
 
-    #define FLL_fss_status_found_object_s_length             18
     #define FLL_fss_status_found_content_s_length            19
-    #define FLL_fss_status_found_object_not_s_length         22
     #define FLL_fss_status_found_content_not_s_length        23
+    #define FLL_fss_status_found_object_s_length             18
     #define FLL_fss_status_found_object_content_not_s_length 30
+    #define FLL_fss_status_found_object_not_s_length         22
 
-    const f_string_static_t fll_fss_status_found_object_s;
-    const f_string_static_t fll_fss_status_found_content_s;
-    const f_string_static_t fll_fss_status_found_object_not_s;
-    const f_string_static_t fll_fss_status_found_content_not_s;
-    const f_string_static_t fll_fss_status_found_object_content_not_s;
+    extern const f_string_static_t fll_fss_status_found_content_s;
+    extern const f_string_static_t fll_fss_status_found_content_not_s;
+    extern const f_string_static_t fll_fss_status_found_object_s;
+    extern const f_string_static_t fll_fss_status_found_object_content_not_s;
+    extern const f_string_static_t fll_fss_status_found_object_not_s;
   #endif // _di_fll_fss_status_success_
 
   #ifndef _di_fll_fss_status_codes_
@@ -75,7 +75,7 @@ extern "C" {
 
     #define FLL_fss_status_found_comment_s_length 19
 
-    const f_string_static_t fll_fss_status_found_comment_s;
+    extern const f_string_static_t fll_fss_status_found_comment_s;
   #endif // _di_fll_fss_status_codes_
 
   #define FLL_fss_status_status_code_first_s "F_fss_status_code_first"
@@ -84,8 +84,8 @@ extern "C" {
   #define FLL_fss_status_status_code_first_s_length 23
   #define FLL_fss_status_status_code_last_s_length  21
 
-  const f_string_static_t fll_fss_status_status_code_first_s;
-  const f_string_static_t fll_fss_status_status_code_last_s;
+  extern const f_string_static_t fll_fss_status_status_code_first_s;
+  extern const f_string_static_t fll_fss_status_status_code_last_s;
 #endif // _di_fll_fss_status_string_
 
 /**
index 5d51e21b766600e58241ced6f6dd226b91fd5780..993790e1d64d76e8653b93c3d8110620925c1ff6 100644 (file)
@@ -42,7 +42,7 @@ extern "C" {
 
   #define FSS_IDENTIFY_program_version_s_length FSS_IDENTIFY_program_version_major_s_length + F_string_ascii_period_s_length + FSS_IDENTIFY_program_version_minor_s_length + F_string_ascii_period_s_length + FSS_IDENTIFY_program_version_micro_s_length + FSS_IDENTIFY_program_version_nano_prefix_s_length + FSS_IDENTIFY_program_version_nano_s_length
 
-  const f_string_static_t fss_identify_program_version_s;
+  extern const f_string_static_t fss_identify_program_version_s;
 #endif // _di_fss_identify_program_version_
 
 /**
@@ -55,8 +55,8 @@ extern "C" {
   #define FSS_IDENTIFY_program_name_s_length      12
   #define FSS_IDENTIFY_program_name_long_s_length 12
 
-  const f_string_static_t fss_identify_program_name_s;
-  const f_string_static_t fss_identify_program_name_long_s;
+  extern const f_string_static_t fss_identify_program_name_s;
+  extern const f_string_static_t fss_identify_program_name_long_s;
 #endif // _di_fss_identify_program_name_
 
 /**
index 12246be6833d57a083ac9aa9f2849bd45d9d4bfb..439fad689cd2aecead71e8c2d2c3dd122c9302c9 100644 (file)
@@ -55,8 +55,8 @@ extern "C" {
   #define FSS_STATUS_CODE_program_name_s_length      15
   #define FSS_STATUS_CODE_program_name_long_s_length 15
 
-  const f_string_static_t fss_status_code_program_name_s;
-  const f_string_static_t fss_status_code_program_name_long_s;
+  extern const f_string_static_t fss_status_code_program_name_s;
+  extern const f_string_static_t fss_status_code_program_name_long_s;
 #endif // _di_fss_status_code_program_name_
 
 /**