summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-snprintf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-13 14:05:59 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-13 14:05:59 +0000
commit116b6bdda81d6647cc2742280c15b3f42ab3dd24 (patch)
treee4544ad3e3011a58c6f4da55717072a08f3a920d /openbsd-compat/bsd-snprintf.c
parent6b4146ad739da603a298474db67824532508c3b8 (diff)
- (bal) Missing function prototype in bsd-snprintf.c patch by
Mark Miller <markm@swoon.net>
Diffstat (limited to 'openbsd-compat/bsd-snprintf.c')
-rw-r--r--openbsd-compat/bsd-snprintf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c
index 55d14284..d02e5ae5 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
*/