aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_fw/base.c')
-rw-r--r--driver_fw/base.c28
1 files changed, 0 insertions, 28 deletions
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 <unistd.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;
-}
-
-char *strcpy(char *dst, const char *src) {
- char *p = dst;
- while (*src)
- *p++ = *src++;
- return dst;
-}