diff options
| author | christos <christos@NetBSD.org> | 2015-01-16 18:40:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2015-01-16 18:40:16 +0000 |
| commit | 18900ad116a8799ccec0e5bf0edafdb7eddd0414 (patch) | |
| tree | be6ee8e52c38f905e5a7e6dfc6c1bc57b601c160 /include/stdlib.h | |
| parent | 2a03f042dee9f91758781c1cc90914f5ca44bbf7 (diff) | |
Add strtonum protected with _OPENBSD_SOURCE
Diffstat (limited to 'include/stdlib.h')
| -rw-r--r-- | include/stdlib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 697605aa256..27c6613b9fb 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdlib.h,v 1.110 2014/06/18 17:48:22 christos Exp $ */ +/* $NetBSD: stdlib.h,v 1.111 2015/01/16 18:40:16 christos Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -123,6 +123,10 @@ double strtod(const char * __restrict, char ** __restrict); long strtol(const char * __restrict, char ** __restrict, int); unsigned long strtoul(const char * __restrict, char ** __restrict, int); +#ifdef _OPENBSD_SOURCE +long long strtonum(const char * __restrict, long long, long long, + const char ** __restrict); +#endif int system(const char *); /* These are currently just stubs. */ |
