summaryrefslogtreecommitdiff
path: root/src/z-form.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commit5ce1ccafa65c5cfbcd0f4431f51abfa1d700a885 (patch)
treea788b50131527a2464b52a47f346023fa64071bf /src/z-form.c
parent97bcf1bc612d9920390c885b8dcea0b0cda6f246 (diff)
Remove strfmt()
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);
-}
-
-
/*