diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-06-30 10:51:32 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-06-30 10:51:32 +1000 |
commit | 66c32d5caa533560a16638ab688772833e602d28 (patch) | |
tree | 04878716ad0be20dbcea509fe54d9d70859ea5fb /openbsd-compat | |
parent | 8b272ab09b722222cc4d6bb79fe6d7812c0b2f7f (diff) |
- (dtucker) [openbsd-compat/openbsd-compat.h] SNPRINTF_CONST for snprintf
declaration too. Patch from russ at sludge.net.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index eda9c49eb..37c979fa4 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.36 2006/04/22 11:26:08 djm Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.37 2006/06/30 00:51:32 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. |
@@ -154,7 +154,7 @@ int openpty(int *, int *, char *, struct termios *, struct winsize *); | |||
154 | /* #include <sys/types.h> XXX needed? For size_t */ | 154 | /* #include <sys/types.h> XXX needed? For size_t */ |
155 | 155 | ||
156 | #ifndef HAVE_SNPRINTF | 156 | #ifndef HAVE_SNPRINTF |
157 | int snprintf(char *, size_t, const char *, ...); | 157 | int snprintf(char *, size_t, SNPRINTF_CONST char *, ...); |
158 | #endif | 158 | #endif |
159 | 159 | ||
160 | #ifndef HAVE_STRTOLL | 160 | #ifndef HAVE_STRTOLL |