aboutsummaryrefslogtreecommitdiffstats
path: root/stdlib.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-02-27 23:49:27 -0500
committerClyne Sullivan <tullivan99@gmail.com>2018-02-27 23:49:27 -0500
commit7b08dbbbe9a3dbe326a751497d27b9e187142eb8 (patch)
tree3aa146c3deb65f1e0a6bc8bf36664acad4357188 /stdlib.c
parent609ff568843dae9d003153509aaa0080aea7a303 (diff)
stable for calculator
Diffstat (limited to 'stdlib.c')
-rw-r--r--stdlib.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/stdlib.c b/stdlib.c
deleted file mode 100644
index 3299d0b..0000000
--- a/stdlib.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdarg.h>
-
-char *snprintf(char *buf, unsigned int max, const char *format, ...)
-{
- (void)max;
- va_list args;
- va_start(args, format);
-
- buf[0] = '0';
- buf[1] = '\0';
-
- va_end(args);
- return buf;
-}
-
-float strtof(const char *s, char **endptr)
-{
- (void)s;
- (void)endptr;
- return 0.0f;
-}