summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-18 21:33:21 +0000
committersmatz <smatz@openttd.org>2008-04-18 21:33:21 +0000
commitf32ecbcadb523777cd4700b56d1562363d5646ea (patch)
treed732eb31de7088d8bef31e9bf345a580cd7d41a2 /src/network/core
parent8e49daf3e1a773719410c2041caa711627ca788f (diff)
downloadopenttd-f32ecbcadb523777cd4700b56d1562363d5646ea.tar.xz
(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/packet.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp
index fe4c1f774..62ab4c61a 100644
--- a/src/network/core/packet.cpp
+++ b/src/network/core/packet.cpp
@@ -11,10 +11,6 @@
#include "packet.h"
-
-/* Do not want to include functions.h and all required headers */
-extern void NORETURN CDECL error(const char *str, ...);
-
/**
* Create a packet that is used to read from a network socket
* @param cs the socket handler associated with the socket we are reading from