summaryrefslogtreecommitdiff
path: root/src/network
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
commit3fe8c58257c809ba5b4aefaf1327fc3a4a8a3e2b (patch)
treed732eb31de7088d8bef31e9bf345a580cd7d41a2 /src/network
parentcd7536123b6a9d7edefd96c989d02effe94f29b3 (diff)
downloadopenttd-3fe8c58257c809ba5b4aefaf1327fc3a4a8a3e2b.tar.xz
(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute
Diffstat (limited to 'src/network')
-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