summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-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;