contrib/git-credential-gnome-keyring.c: remove unnecessary pre-declarations
authorBrandon Casey <drafnel@gmail.com>
Mon, 23 Sep 2013 05:07:57 +0000 (22:07 -0700)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 23 Sep 2013 17:58:07 +0000 (10:58 -0700)
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>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index f2cdefee605aebe6c577129ae2c8cd76a3555a96..15b0a1ceaf3e7dbd4580c10d73a8c658efec8887 100644 (file)
@@ -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)