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