diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 99cebef71..a8c579f49 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.54 2013/02/15 01:13:02 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.55 2013/02/15 01:20:42 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -190,6 +190,14 @@ int snprintf(char *, size_t, SNPRINTF_CONST char *, ...); | |||
190 | long long strtoll(const char *, char **, int); | 190 | long long strtoll(const char *, char **, int); |
191 | #endif | 191 | #endif |
192 | 192 | ||
193 | #ifndef HAVE_STRTOUL | ||
194 | unsigned long strtoul(const char *, char **, int); | ||
195 | #endif | ||
196 | |||
197 | #ifndef HAVE_STRTOULL | ||
198 | unsigned long long strtoull(const char *, char **, int); | ||
199 | #endif | ||
200 | |||
193 | #ifndef HAVE_STRTONUM | 201 | #ifndef HAVE_STRTONUM |
194 | long long strtonum(const char *, long long, long long, const char **); | 202 | long long strtonum(const char *, long long, long long, const char **); |
195 | #endif | 203 | #endif |
@@ -218,10 +226,6 @@ char *group_from_gid(gid_t, int); | |||
218 | int timingsafe_bcmp(const void *, const void *, size_t); | 226 | int timingsafe_bcmp(const void *, const void *, size_t); |
219 | #endif | 227 | #endif |
220 | 228 | ||
221 | #ifndef HAVE_STRTOULL | ||
222 | unsigned long long strtoull(const char *, char **, int); | ||
223 | #endif | ||
224 | |||
225 | void *xmmap(size_t size); | 229 | void *xmmap(size_t size); |
226 | char *xcrypt(const char *password, const char *salt); | 230 | char *xcrypt(const char *password, const char *salt); |
227 | char *shadow_pw(struct passwd *pw); | 231 | char *shadow_pw(struct passwd *pw); |