Commit 2c6429188743b9077212e37225cced504a523ecc

Edward Thomson 2019-06-16T17:55:40

net: remove unused `git_headlist_cb`

diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index 7191aa4..912396f 100644
--- a/include/git2/deprecated.h
+++ b/include/git2/deprecated.h
@@ -403,6 +403,11 @@ typedef git_push_transfer_progress_cb git_push_transfer_progress;
  /** The type of a remote completion event */
 #define git_remote_completion_type git_remote_completion_t
 
+/**
+ * Callback for listing the remote heads
+ */
+typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload);
+
 /**@}*/
 
 /** @name Deprecated Options Initialization Functions
diff --git a/include/git2/net.h b/include/git2/net.h
index 391cdee..8103eaf 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -49,11 +49,6 @@ struct git_remote_head {
 	char *symref_target;
 };
 
-/**
- * Callback for listing the remote heads
- */
-typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload);
-
 /** @} */
 GIT_END_DECL
 #endif