contrib/git-credential-gnome-keyring.c: remove unnecessary pre-declarations
These are all defined before they are used, so it is not necessary to pre-declare them. Remove the pre-declarations. Signed-off-by: Brandon Casey <drafnel@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Brandon Casey committed
Sep 22, 2013 at 22:07 UTC
e72aefc9ec144a21d78202b53ecd7ce115f5ec2b
1 file changed
-13
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
-13
@@ -46,11 +46,6 @@ struct credential
46
#define CREDENTIAL_INIT \
47
{ NULL,NULL,0,NULL,NULL,NULL }
48
49
-void credential_init(struct credential *c);
50
-void credential_clear(struct credential *c);
51
-int credential_read(struct credential *c);
52
-void credential_write(const struct credential *c);
53
-
49
typedef int (*credential_op_cb)(struct credential*);
50
51
struct credential_operation
@@ -62,14 +57,6 @@ struct credential_operation
57
#define CREDENTIAL_OP_END \
58
{ NULL,NULL }
59
65
-/*
66
- * Table with operation callbacks is defined in concrete
67
- * credential helper implementation and contains entries
68
- * like { "get", function_to_get_credential } terminated
69
- * by CREDENTIAL_OP_END.
70
- */
71
-struct credential_operation const credential_helper_ops[];
72
-
60
/* ---------------- common helper functions ----------------- */
61
62
static inline void free_password(char *password)