summaryrefslogtreecommitdiff
path: root/src/console_func.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-12 21:09:58 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-13 15:25:31 +0200
commitb280a3a0ed8c641fb7e39067fccbba668be2e1c6 (patch)
tree9932459c0e96b207d056dac90fee1f7677427f58 /src/console_func.h
parentefd4ba4797c90a4e624a3f039c84a2321641dab4 (diff)
downloadopenttd-b280a3a0ed8c641fb7e39067fccbba668be2e1c6.tar.xz
Cleanup: remove IConsoleWarning/IConsoleError helpers
Both did not support format parameters, so in many places IConsolePrint(CC_ERROR, "message") was used with a style different from what IConsoleError would do.
Diffstat (limited to 'src/console_func.h')
-rw-r--r--src/console_func.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/console_func.h b/src/console_func.h
index b0ffbb9dd..f48fa8f54 100644
--- a/src/console_func.h
+++ b/src/console_func.h
@@ -47,8 +47,6 @@ static inline void IConsolePrint(TextColour colour_code, const T &format, A firs
}
void CDECL IConsolePrintF(TextColour colour_code, const char *format, ...) WARN_FORMAT(2, 3);
-void IConsoleWarning(const char *string);
-void IConsoleError(const char *string);
/* Parser */
void IConsoleCmdExec(const char *cmdstr, const uint recurse_count = 0);