aboutsummaryrefslogtreecommitdiff
path: root/center_fw/base.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-09-25 23:57:36 +0200
committerjaseg <git@jaseg.de>2023-09-25 23:57:36 +0200
commit8cc05c79cea62609d02231492c054a0cca2b2289 (patch)
treee39d40456adefe9bb70bcd77ebdf97be1dcdc028 /center_fw/base.c
parent583ac10d1450610a4110849c26cc16f03154d26e (diff)
download8seg-8cc05c79cea62609d02231492c054a0cca2b2289.tar.gz
8seg-8cc05c79cea62609d02231492c054a0cca2b2289.tar.bz2
8seg-8cc05c79cea62609d02231492c054a0cca2b2289.zip
Center firmware WIP
Diffstat (limited to 'center_fw/base.c')
-rw-r--r--center_fw/base.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/center_fw/base.c b/center_fw/base.c
deleted file mode 100644
index 8e7c03b..0000000
--- a/center_fw/base.c
+++ /dev/null
@@ -1,25 +0,0 @@
-
-#include <unistd.h>
-#include <stdbool.h>
-
-int __errno = 0;
-void *_impure_ptr = NULL;
-
-void __sinit(void) {
-}
-
-void *memset(void *s, int c, size_t n) {
- char *end = (char *)s + n;
- for (char *p = (char *)s; p < end; p++)
- *p = (char)c;
- return s;
-}
-
-size_t strlen(const char *s) {
- const char *start = s;
- while (*s++);
- return s - start - 1;
-}
-
-void __assert_func(bool value) {
-}