summaryrefslogtreecommitdiff
path: root/src/net/recvpacketdefine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/recvpacketdefine.h')
-rw-r--r--src/net/recvpacketdefine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/recvpacketdefine.h b/src/net/recvpacketdefine.h
index 1e282d09c..a62acc468 100644
--- a/src/net/recvpacketdefine.h
+++ b/src/net/recvpacketdefine.h
@@ -21,7 +21,8 @@
#ifndef NET_RECVPACKETDEFINE_H
#define NET_RECVPACKETDEFINE_H
-#define packet(pname, pid, sz) mPackets[pid].name = #pname; \
+#define packet(pname, pid, sz, func) \
+ mPackets[pid].name = #pname; \
mPackets[pid].len = sz
#endif // NET_RECVPACKETDEFINE_H