From ec28fcd9f905358759eea98161f451567135d17e Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 27 Aug 2023 22:31:09 +0200 Subject: new driver blinkenlights --- driver_fw/base.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 driver_fw/base.c (limited to 'driver_fw/base.c') diff --git a/driver_fw/base.c b/driver_fw/base.c deleted file mode 100644 index 75befcb..0000000 --- a/driver_fw/base.c +++ /dev/null @@ -1,28 +0,0 @@ - -#include - -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; -} - -char *strcpy(char *dst, const char *src) { - char *p = dst; - while (*src) - *p++ = *src++; - return dst; -} -- cgit