summaryrefslogtreecommitdiff
path: root/src/net/protocolindefine.h
diff options
context:
space:
mode:
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