From 462d8daaf0a178396d0a00ccd734d3d095517068 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 15 Apr 2024 21:04:11 -0500 Subject: [PATCH] Cleanup: Remove stale files not used anymore. --- level_3/fake/c/main/common/print-string.c | 15 --------- level_3/fake/c/main/common/print-string.h | 52 ------------------------------- 2 files changed, 67 deletions(-) delete mode 100644 level_3/fake/c/main/common/print-string.c delete mode 100644 level_3/fake/c/main/common/print-string.h diff --git a/level_3/fake/c/main/common/print-string.c b/level_3/fake/c/main/common/print-string.c deleted file mode 100644 index 33f6808..0000000 --- a/level_3/fake/c/main/common/print-string.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "../fake.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef _di_fake_p_a_ - const f_string_t fake_p_a[] = { - "", - }; -#endif // _di_fake_p_a_ - -#ifdef __cplusplus -} // extern "C" -#endif diff --git a/level_3/fake/c/main/common/print-string.h b/level_3/fake/c/main/common/print-string.h deleted file mode 100644 index 596cc14..0000000 --- a/level_3/fake/c/main/common/print-string.h +++ /dev/null @@ -1,52 +0,0 @@ -/** - * FLL - Level 3 - * - * Project: Featureless Make - * API Version: 0.7 - * Licenses: lgpl-2.1-or-later - * - * Provides common print functionality. - * - * This is auto-included and should not need to be explicitly included. - */ -#ifndef _fake_common_print_h -#define _fake_common_print_h - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * A special array of strings intended for being used in print functions. - * - * These serve two primary purposes: - * 1) Reduce repition of strings, saving space. - * 2) Provide a central location for changing strings to another langauge. - * - * The macro macro_fake_p() is used to reference the array index by the enum name. - * - * macro_fake_p(): - * - name: A name or alias representing the string. - */ -#ifndef _di_fake_p_a_ - extern const f_string_t fake_p_a[]; - - #define macro_fake_p(name) fake_p_a[fake_p_##name##_e] -#endif // _di_fake_f_p_ - -/** - * An enum representing specific indexes within the above array. - * - * This is a convenience enum used to make code slightly more readable. - */ -#ifndef _di_fake_p_e_ - enum { - fake_p__e, - }; // enum -#endif // _di_fake_p_e_ - -#ifdef __cplusplus -} // extern "C" -#endif - -#endif // _fake_common_print_string_h -- 1.8.3.1