summaryrefslogtreecommitdiff
path: root/src/z-form.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/z-form.c')
-rw-r--r--src/z-form.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/z-form.c b/src/z-form.c
index b9a78fca..90d71294 100644
--- a/src/z-form.c
+++ b/src/z-form.c
@@ -627,30 +627,6 @@ uint strnfmt(char *buf, uint max, cptr fmt, ...)
}
-/*
- * Do a vstrnfmt (see above) into a buffer of unknown size.
- * Since the buffer size is unknown, the user better verify the args.
- */
-uint strfmt(char *buf, cptr fmt, ...)
-{
- uint len;
-
- va_list vp;
-
- /* Begin the Varargs Stuff */
- va_start(vp, fmt);
-
- /* Build the string, assume 32K buffer */
- len = vstrnfmt(buf, 32767, fmt, vp);
-
- /* End the Varargs Stuff */
- va_end(vp);
-
- /* Return the number of bytes written */
- return (len);
-}
-
-
/*