0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 00:10:52 +00:00
termux-packages/packages/n2n/src-edge_management.c.patch
2023-04-12 19:31:11 +09:00

12 lines
412 B
Diff

--- a/src/edge_management.c
+++ b/src/edge_management.c
@@ -392,7 +392,7 @@
};
/* Map topic number to function */
-static const size_t (*mgmt_events[])(strbuf_t *buf, char *tag, int data0, void *data1) = {
+static size_t (*const mgmt_events[])(strbuf_t *buf, char *tag, int data0, void *data1) = {
[N2N_EVENT_DEBUG] = event_debug,
[N2N_EVENT_TEST] = event_test,
[N2N_EVENT_PEER] = event_peer,