Remove GIT_CRED_VERSION and friends

This commit is contained in:
Ben Straub 2012-12-03 12:41:38 -08:00
parent 7bcfbe16c5
commit 2da619abde

View File

@ -31,15 +31,11 @@ typedef enum {
/* The base structure for all credential types */ /* The base structure for all credential types */
typedef struct git_cred { typedef struct git_cred {
unsigned int version; /* This should update if subtypes are extended */
git_credtype_t credtype; git_credtype_t credtype;
void (*free)( void (*free)(
struct git_cred *cred); struct git_cred *cred);
} git_cred; } git_cred;
#define GIT_CRED_VERSION 1
#define GIT_CRED_INIT {GIT_CRED_VERSION, 0}
/* A plaintext username and password */ /* A plaintext username and password */
typedef struct git_cred_userpass_plaintext { typedef struct git_cred_userpass_plaintext {
git_cred parent; git_cred parent;