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 | |
parent | 8b272ab09b722222cc4d6bb79fe6d7812c0b2f7f (diff) |
- (dtucker) [openbsd-compat/openbsd-compat.h] SNPRINTF_CONST for snprintf
declaration too. Patch from russ at sludge.net.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +20060630 + - (dtucker) [openbsd-compat/openbsd-compat.h] SNPRINTF_CONST for snprintf + declaration too. Patch from russ at sludge.net. + 20060627 - (dtucker) [configure.ac] Bug #1203: Add missing '[', which causes problems with autoconf 2.60. Patch from vapier at gentoo.org. @@ -4712,4 +4716,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4350 2006/06/27 01:20:28 dtucker Exp $ +$Id: ChangeLog,v 1.4351 2006/06/30 00:51:32 dtucker Exp $ diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index eda9c49e..37c979fa 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h @@ -1,4 +1,4 @@ -/* $Id: openbsd-compat.h,v 1.36 2006/04/22 11:26:08 djm Exp $ */ +/* $Id: openbsd-compat.h,v 1.37 2006/06/30 00:51:32 dtucker Exp $ */ /* * Copyright (c) 1999-2003 Damien Miller. All rights reserved. @@ -154,7 +154,7 @@ int openpty(int *, int *, char *, struct termios *, struct winsize *); /* #include <sys/types.h> XXX needed? For size_t */ #ifndef HAVE_SNPRINTF -int snprintf(char *, size_t, const char *, ...); +int snprintf(char *, size_t, SNPRINTF_CONST char *, ...); #endif #ifndef HAVE_STRTOLL |