summaryrefslogtreecommitdiff
path: root/src/net/protocoloutinclude.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-21 23:43:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-21 23:44:58 +0300
commit0533718792de26406c56257e4aea7f28d898a132 (patch)
tree653a1244848224708d1383fd3187e15bac55be0d /src/net/protocoloutinclude.h
parente3b02f3d1977ef6eb18d91474e113cba1d3de710 (diff)
downloadplus-0533718792de26406c56257e4aea7f28d898a132.tar.gz
plus-0533718792de26406c56257e4aea7f28d898a132.tar.bz2
plus-0533718792de26406c56257e4aea7f28d898a132.tar.xz
plus-0533718792de26406c56257e4aea7f28d898a132.zip
Define out packet variables in one place and in all files use only externs.
Diffstat (limited to 'src/net/protocoloutinclude.h')
-rw-r--r--src/net/protocoloutinclude.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/protocoloutinclude.h b/src/net/protocoloutinclude.h
index 46ab3ecc4..86e842862 100644
--- a/src/net/protocoloutinclude.h
+++ b/src/net/protocoloutinclude.h
@@ -21,6 +21,6 @@
#ifndef NET_PROTOCOLOUTINCLUDE_H
#define NET_PROTOCOLOUTINCLUDE_H
-#define packet(name, id) static const int name = id
+#define packet(name, id) extern int name
#endif // NET_PROTOCOLOUTINCLUDE_H