summaryrefslogtreecommitdiff
path: root/src/z-form.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/z-form.h')
-rw-r--r--src/z-form.h29
1 files changed, 6 insertions, 23 deletions
diff --git a/src/z-form.h b/src/z-form.h
index 2dcfa96c..f67d1484 100644
--- a/src/z-form.h
+++ b/src/z-form.h
@@ -1,7 +1,4 @@
-/* File z-form.h */
-
-#ifndef INCLUDED_Z_FORM_H
-#define INCLUDED_Z_FORM_H
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -17,38 +14,24 @@ extern "C" {
* See "z-form.c" for more detailed information about the routines,
* including a list of the legal "format sequences".
*
- * This file makes use of both "z-util.c" and "z-virt.c"
+ * This file makes use "z-util.c"
*/
/**** Available Functions ****/
/* Format arguments into given bounded-length buffer */
-extern uint vstrnfmt(char *buf, uint max, cptr fmt, va_list vp);
+uint vstrnfmt(char *buf, uint max, cptr fmt, va_list vp);
/* Simple interface to "vstrnfmt()" */
-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);
+uint strnfmt(char *buf, uint max, cptr fmt, ...);
/* Simple interface to "vformat()" */
-extern char *format(cptr fmt, ...);
-
-/* Vararg interface to "plog()", using "format()" */
-extern void plog_fmt(cptr fmt, ...);
+char *format(cptr fmt, ...);
/* Vararg interface to "quit()", using "format()" */
-extern void quit_fmt(cptr fmt, ...);
-
-/* Vararg interface to "core()", using "format()" */
-extern void core_fmt(cptr fmt, ...);
+void quit_fmt(cptr fmt, ...);
#ifdef __cplusplus
} /* extern "C" */
#endif
-
-#endif