Skip to content

Commit e72aefc

Browse files
drafneljrn
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]>
1 parent 128a96c commit e72aefc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

contrib/credential/gnome-keyring/git-credential-gnome-keyring.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ struct credential
4646
#define CREDENTIAL_INIT \
4747
{ NULL,NULL,0,NULL,NULL,NULL }
4848

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-
5449
typedef int (*credential_op_cb)(struct credential*);
5550

5651
struct credential_operation
@@ -62,14 +57,6 @@ struct credential_operation
6257
#define CREDENTIAL_OP_END \
6358
{ NULL,NULL }
6459

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-
7360
/* ---------------- common helper functions ----------------- */
7461

7562
static inline void free_password(char *password)

0 commit comments

Comments
 (0)