summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-23 22:13:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-23 22:13:47 +0000
commit2db53353c660a6cbf4c1a018c46090249f7f451f (patch)
tree83dd94b1328e0474ae02642a0dd8288ba1f3f375 /libexec
parent33e4b1a88b3d14e357f0987244929cb189c48e9d (diff)
remove _dl_sprintf(). nothing uses it. and if it is gone, nothing can
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/dl_printf.c14
1 files changed, 1 insertions, 13 deletions
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
@@ -85,18 +85,6 @@ sputchar(int 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, ...)
{
va_list ap;