summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2013-09-22 22:07:57 -0700
committerJonathan Nieder <jrnieder@gmail.com>2013-09-23 10:58:07 -0700
commite72aefc9ec144a21d78202b53ecd7ce115f5ec2b (patch)
treec208140beeba345671c2d1a8b99fc2ce6b4133ad /contrib
parent128a96c98442524c7f2eeef4757b1e48445f24ce (diff)
downloadgit-e72aefc9ec144a21d78202b53ecd7ce115f5ec2b.tar.gz
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>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/credential/gnome-keyring/git-credential-gnome-keyring.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index f2cdefee60..15b0a1ceaf 100644
--- a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
+++ b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
@@ -46,11 +46,6 @@ struct credential
#define CREDENTIAL_INIT \
{ NULL,NULL,0,NULL,NULL,NULL }
-void credential_init(struct credential *c);
-void credential_clear(struct credential *c);
-int credential_read(struct credential *c);
-void credential_write(const struct credential *c);
-
typedef int (*credential_op_cb)(struct credential*);
struct credential_operation
@@ -62,14 +57,6 @@ struct credential_operation
#define CREDENTIAL_OP_END \
{ NULL,NULL }
-/*
- * Table with operation callbacks is defined in concrete
- * credential helper implementation and contains entries
- * like { "get", function_to_get_credential } terminated
- * by CREDENTIAL_OP_END.
- */
-struct credential_operation const credential_helper_ops[];
-
/* ---------------- common helper functions ----------------- */
static inline void free_password(char *password)