summaryrefslogtreecommitdiff
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-11 21:17:07 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-13 12:45:45 +0200
commita99ac62c1ab816ee48cac85fdf834f9fdc599cb1 (patch)
tree5225d076ab8000a01727076cf28100caaa4e9465 /src/debug.cpp
parent662d8dfc309d5c5312049a93002fd39176e96baf (diff)
downloadopenttd-a99ac62c1ab816ee48cac85fdf834f9fdc599cb1.tar.xz
Codechange: use the fmt library for simpler debug formats
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 39c695e03..cfcb0ee8b 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -103,7 +103,7 @@ char *DumpDebugFacilityNames(char *buf, char *last)
* @param dbg Debug category.
* @param buf Text line to output.
*/
-static void debug_print(const char *dbg, const char *buf)
+void debug_print(const char *dbg, const char *buf)
{
if (_debug_socket != INVALID_SOCKET) {
char buf2[1024 + 32];