summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/z-form.c2
-rw-r--r--src/z-form.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/z-form.c b/src/z-form.c
index b3d5d005..340147af 100644
--- a/src/z-form.c
+++ b/src/z-form.c
@@ -647,7 +647,7 @@ uint vstrnfmt(char *buf, uint max, cptr fmt, va_list vp)
* Do a vstrnfmt (see above) into a (growable) static buffer.
* This buffer is usable for very short term formatting of results.
*/
-char *vformat(cptr fmt, va_list vp)
+static char *vformat(cptr fmt, va_list vp)
{
static char *format_buf = NULL;
static huge format_len = 0;
diff --git a/src/z-form.h b/src/z-form.h
index 2dcfa96c..752cf249 100644
--- a/src/z-form.h
+++ b/src/z-form.h
@@ -32,9 +32,6 @@ extern uint strnfmt(char *buf, uint max, cptr fmt, ...);
/* Simple interface to "vstrnfmt()", assuming infinite length */
extern uint strfmt(char *buf, cptr fmt, ...);
-/* Format arguments into a static resizing buffer */
-extern char *vformat(cptr fmt, va_list vp);
-
/* Simple interface to "vformat()" */
extern char *format(cptr fmt, ...);