- (dtucker) [openbsd-compat/openbsd-compat.h] SNPRINTF_CONST for snprintf

declaration too.  Patch from russ at sludge.net.
This commit is contained in:
Darren Tucker 2006-06-30 10:51:32 +10:00
parent 8b272ab09b
commit 66c32d5caa
2 changed files with 7 additions and 3 deletions

View File

@ -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 $

View File

@ -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