Skip to content

Commit 55a1535

Browse files
authored
Merge pull request libgit2#5122 from libgit2/ethomson/deprecate_headlist
net: remove unused `git_headlist_cb`
2 parents 89f36f1 + 2c64291 commit 55a1535

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/git2/deprecated.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,11 @@ typedef git_push_transfer_progress_cb git_push_transfer_progress;
403403
/** The type of a remote completion event */
404404
#define git_remote_completion_type git_remote_completion_t
405405

406+
/**
407+
* Callback for listing the remote heads
408+
*/
409+
typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload);
410+
406411
/**@}*/
407412

408413
/** @name Deprecated Options Initialization Functions

include/git2/net.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ struct git_remote_head {
4949
char *symref_target;
5050
};
5151

52-
/**
53-
* Callback for listing the remote heads
54-
*/
55-
typedef int GIT_CALLBACK(git_headlist_cb)(git_remote_head *rhead, void *payload);
56-
5752
/** @} */
5853
GIT_END_DECL
5954
#endif

0 commit comments

Comments
 (0)