]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule-config.h
submodule-config: allow submodule_free to handle arbitrary repositories
[thirdparty/git.git] / submodule-config.h
index a5503a5d177e90e009be9240bfddd68c9ead475b..6b71a8cd307794c686ed8a04dbcbde15f89252dc 100644 (file)
@@ -46,6 +46,6 @@ extern const struct submodule *submodule_from_path(
 extern const struct submodule *submodule_from_cache(struct repository *repo,
                                                    const struct object_id *treeish_name,
                                                    const char *key);
-extern void submodule_free(void);
+void submodule_free(struct repository *r);
 
 #endif /* SUBMODULE_CONFIG_H */