]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/python/locationmodule.h
python: Avoid declaring loc_ctx multiple times
[people/ms/libloc.git] / src / python / locationmodule.h
index 284736650ebf9f556a9798a3b263b3dd124801e5..2f4d652c20c7475b037e934565f3cfe3a7c70cd3 100644 (file)
@@ -20,6 +20,6 @@
 #include <loc/libloc.h>
 #include <loc/as.h>
 
-struct loc_ctx* loc_ctx;
+extern struct loc_ctx* loc_ctx;
 
 #endif /* PYTHON_LOCATION_MODULE_H */