summaryrefslogtreecommitdiff
path: root/src/core/snprintf.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-14 18:53:10 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-14 18:53:10 -0800
commit3583d5e407476b8836228c0abc52c400d74aba61 (patch)
tree113b6510b9f3d4f7eaffd331ecbd173724327c96 /src/core/snprintf.c
parente6476c5e4eac773aed4b76f16d3e76e7956c2468 (diff)
downloadnng-3583d5e407476b8836228c0abc52c400d74aba61.tar.gz
nng-3583d5e407476b8836228c0abc52c400d74aba61.tar.bz2
nng-3583d5e407476b8836228c0abc52c400d74aba61.zip
More robust platform definition support.
The idea is that someday it will be possible to just concatenate the entire set of source files into a single giant source file, for systems that want to work this way. As a result, the build system now compiles every file, although some of them will not have any definitions.
Diffstat (limited to 'src/core/snprintf.c')
-rw-r--r--src/core/snprintf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/snprintf.c b/src/core/snprintf.c
index 574d537a..004916a2 100644
--- a/src/core/snprintf.c
+++ b/src/core/snprintf.c
@@ -34,3 +34,9 @@ nni_snprintf(char *dst, size_t sz, const char *fmt, ...)
nni_vsnprintf(dst, sz, fmt, va);
va_end(va);
}
+
+void
+nni_vsnprintf(char *dst, size_t sz, const char *fmt, va_list va)
+{
+ nni_plat_vsnprintf(dst, sz, fmt, va);
+}