diff options
Diffstat (limited to 'lib/libstand/printf.c')
| -rw-r--r-- | lib/libstand/printf.c | 14 | 
1 files changed, 4 insertions, 10 deletions
| diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c index 5135e10183a93..8c7b38477a7ea 100644 --- a/lib/libstand/printf.c +++ b/lib/libstand/printf.c @@ -36,7 +36,7 @@   * SUCH DAMAGE.   *   *	@(#)subr_prf.c	8.3 (Berkeley) 1/21/94 - * $Id: printf.c,v 1.1.1.1 1998/08/20 08:19:55 msmith Exp $ + * $Id: subr_prf.c,v 1.46 1998/05/28 09:30:20 phk Exp $   */  /* @@ -74,6 +74,9 @@ vprintf(const char *fmt, va_list ap)  	kvprintf(fmt, putchar, NULL, 10, ap);  } +/* + * Scaled down version of sprintf(3). + */  int  sprintf(char *buf, const char *cfmt, ...)  { @@ -87,15 +90,6 @@ sprintf(char *buf, const char *cfmt, ...)  	return retval;  } -void -vsprintf(char *buf, const char *cfmt, va_list ap) -{ -	int	retval; -	 -	retval = kvprintf(cfmt, NULL, (void *)buf, 10, ap); -	buf[retval] = '\0'; -} -  /*   * Put a number (base <= 16) in a buffer in reverse order; return an   * optional length and a pointer to the NULL terminated (preceded?) | 
