proto: Fix possible buffer overflow due to non null terminated string
[project/netifd.git] / wireless.h
index cb725b2a4917f68878c9f5518274760483473a64..665cdb7c97be984708cacccda6b3dc45ea9391f3 100644 (file)
@@ -17,8 +17,8 @@
 #include <libubox/utils.h>
 #include "interface.h"
 
-struct vlist_tree wireless_devices;
-struct avl_tree wireless_drivers;
+extern struct vlist_tree wireless_devices;
+extern struct avl_tree wireless_drivers;
 
 struct wireless_driver {
        struct avl_node node;