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;