summaryrefslogtreecommitdiff
path: root/src/klibc/rt_vsnprintf_tiny.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/klibc/rt_vsnprintf_tiny.c')
-rw-r--r--src/klibc/rt_vsnprintf_tiny.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/klibc/rt_vsnprintf_tiny.c b/src/klibc/rt_vsnprintf_tiny.c
index a91e1498d5..75c89512d9 100644
--- a/src/klibc/rt_vsnprintf_tiny.c
+++ b/src/klibc/rt_vsnprintf_tiny.c
@@ -10,8 +10,6 @@
#include <rtthread.h>
-#ifndef RT_KLIBC_USING_VSNPRINTF_STANDARD
-
#define _ISDIGIT(c) ((unsigned)((c) - '0') < 10)
/**
@@ -608,9 +606,6 @@ int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args)
*/
return str - buf;
}
-RTM_EXPORT(rt_vsnprintf);
#if (defined(__GNUC__) && !defined(__ARMCC_VERSION) /* GCC */) && (__GNUC__ >= 7)
#pragma GCC diagnostic pop /* ignored "-Wimplicit-fallthrough" */
#endif /* (defined(__GNUC__) && !defined(__ARMCC_VERSION)) && (__GNUC__ >= 7 */
-
-#endif /* !RT_KLIBC_USING_VSNPRINTF_STANDARD */