deprecation: don't use deprecated stream cb Avoid the deprecated `git_stream_cb` typedef since we want to compile the library without deprecated functions or types. Instead, we can unroll the alias to its actual type.
diff --git a/src/streams/registry.c b/src/streams/registry.c
index b6cf489..3300320 100644
--- a/src/streams/registry.c
+++ b/src/streams/registry.c
@@ -100,7 +100,9 @@ int git_stream_register(git_stream_t type, git_stream_registration *registration
return 0;
}
-int git_stream_register_tls(git_stream_cb ctor)
+
+int git_stream_register_tls(
+ int GIT_CALLBACK(ctor)(git_stream **out, const char *host, const char *port))
{
git_stream_registration registration = {0};