]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/python/locationmodule.c
python: Avoid declaring loc_ctx multiple times
[people/ms/libloc.git] / src / python / locationmodule.c
index dcb5a47560d174565c1e01c609d395087af23b69..a1e4d8284778c2defc3ac73b6f4625572c742324 100644 (file)
@@ -23,6 +23,9 @@
 #include "network.h"
 #include "writer.h"
 
+/* Declare global context */
+struct loc_ctx* loc_ctx;
+
 PyMODINIT_FUNC PyInit_location(void);
 
 static void location_free(void) {