From 116b6bdda81d6647cc2742280c15b3f42ab3dd24 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 13 Feb 2001 14:05:59 +0000 Subject: [PATCH] - (bal) Missing function prototype in bsd-snprintf.c patch by Mark Miller --- ChangeLog | 4 +++- openbsd-compat/bsd-snprintf.c | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea8215ae1..115d7aebc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ Andrew Bartlett - (djm) Move PAM session initialisation until after fork in sshd. Patch from Nalin Dahyabhai + - (bal) Missing function prototype in bsd-snprintf.c patch by + Mark Miller 20010213 - (djm) Only test -S potential EGD sockets if they exist and are readable. @@ -3920,4 +3922,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.756 2001/02/13 13:45:51 djm Exp $ +$Id: ChangeLog,v 1.757 2001/02/13 14:05:59 mouring Exp $ diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c index 55d14284d..d02e5ae50 100644 --- a/openbsd-compat/bsd-snprintf.c +++ b/openbsd-compat/bsd-snprintf.c @@ -51,7 +51,7 @@ #include "includes.h" -RCSID("$Id: bsd-snprintf.c,v 1.3 2001/02/13 02:18:50 mouring Exp $"); +RCSID("$Id: bsd-snprintf.c,v 1.4 2001/02/13 14:05:59 mouring Exp $"); #if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) @@ -70,6 +70,9 @@ static void fmtfp(char *buffer, size_t *currlen, size_t maxlen, long double fvalue, int min, int max, int flags); +static void +dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c); + /* * dopr(): poor man's version of doprintf */