]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink_internal.h
Stop using the global variable mesh in most of the rest of the code.
[meshlink] / src / meshlink_internal.h
index db69e6fd99c6a3612e06064c7c969523258bad05..6d0d3c0f2b2d7e3d83b83381589840df23068f92 100644 (file)
@@ -104,12 +104,6 @@ struct meshlink_node {
        void *priv;
 };
 
-// This is a *temporary* global variable which will keep the compiler happy
-// while refactoring the code to get rid of global variables.
-// TODO: remove this when no other global variables remain.
-
-extern meshlink_handle_t *mesh;
-
 /// Header for data packets routed between nodes
 typedef struct meshlink_packethdr {
        uint8_t destination[16];