diff options
| author | Garrett D'Amore <garrett@damore.org> | 2016-12-21 23:51:14 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2016-12-21 23:51:14 -0800 |
| commit | 3ec3021ee15f0e45b378e4589ad2fdf0344a63de (patch) | |
| tree | 2eb4ba5c2119f13a66f93269b084839bb686cc43 /src/core/snprintf.h | |
| parent | 20a75521d5d362f5be7d0fb54e78c85d0e32f3cd (diff) | |
| download | nng-3ec3021ee15f0e45b378e4589ad2fdf0344a63de.tar.gz nng-3ec3021ee15f0e45b378e4589ad2fdf0344a63de.tar.bz2 nng-3ec3021ee15f0e45b378e4589ad2fdf0344a63de.zip | |
Ditch our own snprintf/vsnprintf (C99). Symbol naming fixes for inproc.
Diffstat (limited to 'src/core/snprintf.h')
| -rw-r--r-- | src/core/snprintf.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/core/snprintf.h b/src/core/snprintf.h deleted file mode 100644 index 66028de3..00000000 --- a/src/core/snprintf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2016 Garrett D'Amore <garrett@damore.org> - * - * This software is supplied under the terms of the MIT License, a - * copy of which should be located in the distribution where this - * file was obtained (LICENSE.txt). A copy of the license may also be - * found online at https://opensource.org/licenses/MIT. - */ - -#ifndef CORE_SNPRINTF_H -#define CORE_SNPRINTF_H - -#include <stddef.h> -#include <stdarg.h> - -/* - * We have our own snprintf, because some platforms lack this, while - * others need special handling. Ours just calls the vsnprintf version - * from the platform. - */ -extern void nni_snprintf(char *, size_t, const char *, ...); -extern void nni_vsnprintf(char *, size_t, const char *, va_list); - -#endif /* CORE_SNPRINTF_H */ |
