From 66c32d5caa533560a16638ab688772833e602d28 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 30 Jun 2006 10:51:32 +1000 Subject: [PATCH] - (dtucker) [openbsd-compat/openbsd-compat.h] SNPRINTF_CONST for snprintf declaration too. Patch from russ at sludge.net. --- ChangeLog | 6 +++++- openbsd-compat/openbsd-compat.h | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 01fa36e83..09c459200 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 eda9c49eb..37c979fa4 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 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