diff options
| author | 2020-01-09 13:47:12 +0000 | |
|---|---|---|
| committer | 2020-01-09 13:47:12 +0000 | |
| commit | ad3b53661d6e8c6ff17607778560ff02c209fc9d (patch) | |
| tree | ad116f7232545d5c82adc4e17de67db281f9e7d6 /usr.sbin/bind/lib/isc/parseint.c | |
| parent | unifdef network defines: (diff) | |
| download | wireguard-openbsd-ad3b53661d6e8c6ff17607778560ff02c209fc9d.tar.xz wireguard-openbsd-ad3b53661d6e8c6ff17607778560ff02c209fc9d.zip | |
unifdef printf and string functions:
#undef ISC_PLATFORM_NEEDVSNPRINTF
#undef ISC_PLATFORM_NEEDSPRINTF
#undef ISC_PLATFORM_NEEDPRINTF
#undef ISC_PLATFORM_NEEDFPRINTF
#define ISC_PLATFORM_QUADFORMAT "ll"
#undef ISC_PLATFORM_NEEDSTRSEP
#undef ISC_PLATFORM_NEEDSTRLCPY
#undef ISC_PLATFORM_NEEDSTRLCAT
#undef ISC_PLATFORM_NEEDSTRTOUL
#undef ISC_PLATFORM_NEEDMEMMOVE
#undef ISC_PLATFORM_NEEDSTRCASESTR
Diffstat (limited to 'usr.sbin/bind/lib/isc/parseint.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/parseint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bind/lib/isc/parseint.c b/usr.sbin/bind/lib/isc/parseint.c index 7c57dd4f259..620cc71b09a 100644 --- a/usr.sbin/bind/lib/isc/parseint.c +++ b/usr.sbin/bind/lib/isc/parseint.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: parseint.c,v 1.3 2019/12/17 01:46:34 sthen Exp $ */ +/* $Id: parseint.c,v 1.4 2020/01/09 13:47:13 florian Exp $ */ /*! \file */ @@ -23,10 +23,11 @@ #include <ctype.h> #include <errno.h> #include <limits.h> +#include <stdlib.h> #include <isc/parseint.h> #include <isc/result.h> -#include <isc/stdlib.h> + isc_result_t isc_parse_uint32(isc_uint32_t *uip, const char *string, int base) { |
