diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-09-30 09:55:49 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-09-30 09:55:49 +1000 |
commit | 6e4221129e58d792ec14025af823f654b5898cd6 (patch) | |
tree | 040a7fbc66f35e6843feefcac964658823682309 | |
parent | 372c8fbe9be87789106fb004ea684a65984712e9 (diff) |
- (dtucker) [openbsd-compat/openbsd-compat.h] Bug #1096: Add prototype
for strtoll. Patch from o.flebbe at science-computing.de.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 6 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20050930 | ||
2 | - (dtucker) [openbsd-compat/openbsd-compat.h] Bug #1096: Add prototype | ||
3 | for strtoll. Patch from o.flebbe at science-computing.de. | ||
4 | |||
1 | 20050929 | 5 | 20050929 |
2 | - (dtucker) [monitor_wrap.c] Remove duplicate definition of loginmsg | 6 | - (dtucker) [monitor_wrap.c] Remove duplicate definition of loginmsg |
3 | introduced during sync. | 7 | introduced during sync. |
@@ -3029,4 +3033,4 @@ | |||
3029 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 3033 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
3030 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 3034 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
3031 | 3035 | ||
3032 | $Id: ChangeLog,v 1.3899 2005/09/29 12:01:10 dtucker Exp $ | 3036 | $Id: ChangeLog,v 1.3900 2005/09/29 23:55:49 dtucker Exp $ |
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index ba68bc27e..dda558ffe 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.30 2005/08/26 20:15:20 tim Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.31 2005/09/29 23:55:50 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. |
@@ -152,6 +152,10 @@ int openpty(int *, int *, char *, struct termios *, struct winsize *); | |||
152 | int snprintf(char *, size_t, const char *, ...); | 152 | int snprintf(char *, size_t, const char *, ...); |
153 | #endif | 153 | #endif |
154 | 154 | ||
155 | #ifndef HAVE_STRTOLL | ||
156 | long long strtoll(const char *, char **, int); | ||
157 | #endif | ||
158 | |||
155 | #ifndef HAVE_STRTONUM | 159 | #ifndef HAVE_STRTONUM |
156 | long long strtonum(const char *, long long, long long, const char **); | 160 | long long strtonum(const char *, long long, long long, const char **); |
157 | #endif | 161 | #endif |