diff options
author | jaseg <git@jaseg.net> | 2019-04-16 23:38:46 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-04-16 23:38:46 +0900 |
commit | f6b959086671fb1bf8b2003d5c5384c7311a7735 (patch) | |
tree | 1e06cf5a3c19900323d1f44dabd8a7ee14e2ec32 /fw/base.c | |
parent | e79f3d4047aaf9beb8a59f1d30d93c78efae0cc5 (diff) | |
download | 8seg-f6b959086671fb1bf8b2003d5c5384c7311a7735.tar.gz 8seg-f6b959086671fb1bf8b2003d5c5384c7311a7735.tar.bz2 8seg-f6b959086671fb1bf8b2003d5c5384c7311a7735.zip |
center/fw: rename
Diffstat (limited to 'fw/base.c')
-rw-r--r-- | fw/base.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/fw/base.c b/fw/base.c deleted file mode 100644 index 8e7c03b..0000000 --- a/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) { -} |