summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-06-20 12:32:31 +0200
committerGitHub <noreply@github.com>2019-06-20 12:32:31 +0200
commit55a1535dd51c62f4e4ed764412200bbd49f3a1ab (patch)
tree2fd8c67e3bf9e92c1952ad1c40ce57f4609bb48c
parent89f36f1b7be670a792362edeb66487efcd468939 (diff)
parent2c6429188743b9077212e37225cced504a523ecc (diff)
downloadlibgit2-55a1535dd51c62f4e4ed764412200bbd49f3a1ab.tar.gz
Merge pull request #5122 from libgit2/ethomson/deprecate_headlist
net: remove unused `git_headlist_cb`
-rw-r--r--include/git2/deprecated.h5
-rw-r--r--include/git2/net.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h
index 7191aa4d3..912396ffd 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 391cdee1c..8103eafbf 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