summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-16 17:55:40 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-16 17:56:38 +0100
commit2c6429188743b9077212e37225cced504a523ecc (patch)
tree61c30996106807df5e1a7b97f9d70b4a29bf92bd
parent37e4c1ba1df4e1f9b0f0ab28762c14b862c3338d (diff)
downloadlibgit2-ethomson/deprecate_headlist.tar.gz
net: remove unused `git_headlist_cb`ethomson/deprecate_headlist
-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