From 335b99a39d468c7671f584bee362856cf5c2ed99 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 31 May 2007 13:26:50 +0000 Subject: Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them elsewhere as well. --- src/include/gpxe/vsprintf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/gpxe/vsprintf.h b/src/include/gpxe/vsprintf.h index ac87c5a8b..9360f29b7 100644 --- a/src/include/gpxe/vsprintf.h +++ b/src/include/gpxe/vsprintf.h @@ -64,4 +64,8 @@ struct printf_context { extern size_t vcprintf ( struct printf_context *ctx, const char *fmt, va_list args ); +extern int vssnprintf ( char *buf, ssize_t ssize, const char *fmt, + va_list args ); +extern int ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... ); + #endif /* _GPXE_VSPRINTF_H */ -- cgit v1.2.3-55-g7522