diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-22 00:44:22 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-22 00:44:41 +0200 |
commit | c3280d83e70b531193b1577f0160559d607d922e (patch) | |
tree | e78b3414b578635d41659dcffbfc60a682c096c4 /unix/main.c | |
parent | ede1f547e72c89125b78d3fb1cf5dd7d9c68ec92 (diff) |
unix: Use printf() implementation in terms of mp_printf().
In other words, unix port now uses overriden printf(), instead of using
libc's. This should remove almost all dependency on libc stdio (which
is bloated).
Diffstat (limited to 'unix/main.c')
-rw-r--r-- | unix/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/unix/main.c b/unix/main.c index 26618af3f..741568f75 100644 --- a/unix/main.c +++ b/unix/main.c @@ -574,14 +574,6 @@ uint mp_import_stat(const char *path) { return MP_IMPORT_STAT_NO_EXIST; } -int DEBUG_printf(const char *fmt, ...) { - va_list ap; - va_start(ap, fmt); - int ret = mp_vprintf(&mp_stderr_print, fmt, ap); - va_end(ap); - return ret; -} - void nlr_jump_fail(void *val) { printf("FATAL: uncaught NLR %p\n", val); exit(1); |