summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-06-27 17:49:39 +0200
committerBardur Arantsson <bardur@scientician.net>2014-06-27 17:51:44 +0200
commit66c6c68e082ef28aaebd29ac1dc54f11c4ff7b9b (patch)
tree3fbc43a55bf230ba19ccc0f5e041c97af72d80de
parenta5a2f543f50a45009bb8c0e203ff772d77fa7bc8 (diff)
Remove unused core_fmt()
-rw-r--r--src/z-form.c25
-rw-r--r--src/z-form.h10
2 files changed, 1 insertions, 34 deletions
diff --git a/src/z-form.c b/src/z-form.c
index 7fec68e8..af254ef7 100644
--- a/src/z-form.c
+++ b/src/z-form.c
@@ -723,28 +723,3 @@ void quit_fmt(cptr fmt, ...)
/* Call quit() */
quit(res);
}
-
-
-
-/*
- * Vararg interface to core()
- */
-void core_fmt(cptr fmt, ...)
-{
- char *res;
- va_list vp;
-
- /* Begin the Varargs Stuff */
- va_start(vp, fmt);
-
- /* If requested, Do a virtual fprintf to stderr */
- res = vformat(fmt, vp);
-
- /* End the Varargs Stuff */
- va_end(vp);
-
- /* Call core() */
- core(res);
-}
-
-
diff --git a/src/z-form.h b/src/z-form.h
index 752cf249..c7582831 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" {
@@ -41,11 +38,6 @@ extern void plog_fmt(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, ...);
-
#ifdef __cplusplus
} /* extern "C" */
#endif
-
-#endif