From 2db53353c660a6cbf4c1a018c46090249f7f451f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 23 May 2002 22:13:47 +0000 Subject: remove _dl_sprintf(). nothing uses it. and if it is gone, nothing can --- libexec/ld.so/dl_printf.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'libexec') diff --git a/libexec/ld.so/dl_printf.c b/libexec/ld.so/dl_printf.c index 54b2d775196..228269b9ad6 100644 --- a/libexec/ld.so/dl_printf.c +++ b/libexec/ld.so/dl_printf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dl_printf.c,v 1.5 2002/02/19 19:39:38 millert Exp $ */ +/* $OpenBSD: dl_printf.c,v 1.6 2002/05/23 22:13:46 deraadt Exp $ */ /*- * Copyright (c) 1993 @@ -84,18 +84,6 @@ sputchar(int c) *sbuf++ = c; } -void -_dl_sprintf(char *buf, const char *fmt, ...) -{ - va_list ap; - - sbuf = buf; - va_start(ap, fmt); - kdoprnt(sputchar, fmt, ap); - va_end(ap); - *sbuf = '\0'; -} - void _dl_printf(const char *fmt, ...) { -- cgit v1.2.3