summaryrefslogtreecommitdiff
path: root/include/git2/transport.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-03 12:41:38 -0800
committerBen Straub <bs@github.com>2012-12-03 12:41:38 -0800
commit2da619abdebe78ce90be5e7d58e2257ec1777003 (patch)
tree291c9bbf8a8e80a8d45663aeef2da3997cd7efe4 /include/git2/transport.h
parent7bcfbe16c59d6f3a47cfbfa65952623081c8f7de (diff)
downloadlibgit2-2da619abdebe78ce90be5e7d58e2257ec1777003.tar.gz
Remove GIT_CRED_VERSION and friends
Diffstat (limited to 'include/git2/transport.h')
-rw-r--r--include/git2/transport.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/git2/transport.h b/include/git2/transport.h
index 84d71c612..60ac3f242 100644
--- a/include/git2/transport.h
+++ b/include/git2/transport.h
@@ -31,15 +31,11 @@ typedef enum {
/* The base structure for all credential types */
typedef struct git_cred {
- unsigned int version; /* This should update if subtypes are extended */
git_credtype_t credtype;
void (*free)(
struct git_cred *cred);
} git_cred;
-#define GIT_CRED_VERSION 1
-#define GIT_CRED_INIT {GIT_CRED_VERSION, 0}
-
/* A plaintext username and password */
typedef struct git_cred_userpass_plaintext {
git_cred parent;