summaryrefslogtreecommitdiff
path: root/src/net/protocolindefine.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-02 00:46:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-02 00:46:32 +0300
commit1e302305d8777da7b40b1ae53ae33eab866b9e26 (patch)
treeef63095f0c1bb1caf0371499de65726cf921a7cd /src/net/protocolindefine.h
parent49b23be3e59381d7e54d18fed79541c5259dc0a1 (diff)
downloadmv-1e302305d8777da7b40b1ae53ae33eab866b9e26.tar.gz
mv-1e302305d8777da7b40b1ae53ae33eab866b9e26.tar.bz2
mv-1e302305d8777da7b40b1ae53ae33eab866b9e26.tar.xz
mv-1e302305d8777da7b40b1ae53ae33eab866b9e26.zip
Add to packets defines packet handlers. For now unused.
Diffstat (limited to 'src/net/protocolindefine.h')
-rw-r--r--src/net/protocolindefine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/protocolindefine.h b/src/net/protocolindefine.h
index 37c035df1..2a78ba78f 100644
--- a/src/net/protocolindefine.h
+++ b/src/net/protocolindefine.h
@@ -21,6 +21,6 @@
#ifndef NET_PROTOCOLINDEFINE_H
#define NET_PROTOCOLINDEFINE_H
-#define packet(name, id, sz) static const int name = id
+#define packet(name, id, sz, func) static const int name = id
#endif // NET_PROTOCOLINDEFINE_H