summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-08 17:14:00 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-10 11:37:00 +0100
commit810cefd93fce0eaca7d1dc09d366145be5214e76 (patch)
tree2f1ff10a8e50207535494c21f93b18bc5508f58c /src
parente50d138e898dd034161663873f75716086266f86 (diff)
downloadlibgit2-810cefd93fce0eaca7d1dc09d366145be5214e76.tar.gz
credentials: suffix the callbacks with `_cb`
The credential callbacks should match the other callback naming conventions, using the `_cb` suffix instead of a `_callback` suffix.
Diffstat (limited to 'src')
-rw-r--r--src/transports/cred.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transports/cred.c b/src/transports/cred.c
index dfacc96d3..621cae027 100644
--- a/src/transports/cred.c
+++ b/src/transports/cred.c
@@ -264,7 +264,7 @@ static int git_cred_ssh_key_type_new(
int git_cred_ssh_interactive_new(
git_cred **out,
const char *username,
- git_cred_ssh_interactive_callback prompt_callback,
+ git_cred_ssh_interactive_cb prompt_callback,
void *payload)
{
git_cred_ssh_interactive *c;
@@ -312,7 +312,7 @@ int git_cred_ssh_custom_new(
const char *username,
const char *publickey,
size_t publickey_len,
- git_cred_sign_callback sign_callback,
+ git_cred_sign_cb sign_callback,
void *payload)
{
git_cred_ssh_custom *c;