diff options
-rw-r--r-- | src/main-gcu.c | 2 | ||||
-rw-r--r-- | src/main-gtk2.c | 2 | ||||
-rw-r--r-- | src/main-x11.c | 2 | ||||
-rw-r--r-- | src/main-xaw.c | 2 | ||||
-rw-r--r-- | src/z-form.c | 23 | ||||
-rw-r--r-- | src/z-form.h | 3 |
6 files changed, 4 insertions, 30 deletions
diff --git a/src/main-gcu.c b/src/main-gcu.c index 0299d3dd..f97ca596 100644 --- a/src/main-gcu.c +++ b/src/main-gcu.c @@ -918,7 +918,7 @@ errr init_gcu(int argc, char **argv) continue; } - plog_fmt("Ignoring option: %s", argv[i]); + fprintf(stderr, "Ignoring option: %s", argv[i]); } diff --git a/src/main-gtk2.c b/src/main-gtk2.c index 70414af8..6e5fff7e 100644 --- a/src/main-gtk2.c +++ b/src/main-gtk2.c @@ -1946,7 +1946,7 @@ errr init_gtk2(int argc, char **argv) /* None of the above */ - plog_fmt("Ignoring option: %s", argv[i]); + fprintf(stderr, "Ignoring option: %s", argv[i]); } diff --git a/src/main-x11.c b/src/main-x11.c index 53df57d7..43afa298 100644 --- a/src/main-x11.c +++ b/src/main-x11.c @@ -2452,7 +2452,7 @@ errr init_x11(int argc, char *argv[]) continue; } - plog_fmt("Ignoring option: %s", argv[i]); + fprintf(stderr, "Ignoring option: %s", argv[i]); } diff --git a/src/main-xaw.c b/src/main-xaw.c index 5b438061..96e3b5b3 100644 --- a/src/main-xaw.c +++ b/src/main-xaw.c @@ -1456,7 +1456,7 @@ errr init_xaw(int argc, char *argv[]) continue; } - plog_fmt("Ignoring option: %s", argv[i]); + fprintf(stderr, "Ignoring option: %s", argv[i]); } diff --git a/src/z-form.c b/src/z-form.c index af254ef7..b9a78fca 100644 --- a/src/z-form.c +++ b/src/z-form.c @@ -681,29 +681,6 @@ char *format(cptr fmt, ...) /* - * Vararg interface to plog() - */ -void plog_fmt(cptr fmt, ...) -{ - char *res; - va_list vp; - - /* Begin the Varargs Stuff */ - va_start(vp, fmt); - - /* Format the args */ - res = vformat(fmt, vp); - - /* End the Varargs Stuff */ - va_end(vp); - - /* Call plog */ - plog(res); -} - - - -/* * Vararg interface to quit() */ void quit_fmt(cptr fmt, ...) diff --git a/src/z-form.h b/src/z-form.h index c7582831..e1b6ce3b 100644 --- a/src/z-form.h +++ b/src/z-form.h @@ -32,9 +32,6 @@ extern uint strfmt(char *buf, cptr fmt, ...); /* Simple interface to "vformat()" */ extern char *format(cptr fmt, ...); -/* Vararg interface to "plog()", using "format()" */ -extern void plog_fmt(cptr fmt, ...); - /* Vararg interface to "quit()", using "format()" */ extern void quit_fmt(cptr fmt, ...); |