Skip to content

Commit 233545c

Browse files
jltoblergitster
authored andcommitted
commit: remove unused forward declaration
In 6206089 (commit: write commits for both hashes, 2023-10-01), `sign_with_header()` was removed, but its forward declaration in "commit.h" was left. Remove the unused declaration. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d181b93 commit 233545c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

commit.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,6 @@ LAST_ARG_MUST_BE_NULL
400400
int run_commit_hook(int editor_is_used, const char *index_file,
401401
int *invoked_hook, const char *name, ...);
402402

403-
/* Sign a commit or tag buffer, storing the result in a header. */
404-
int sign_with_header(struct strbuf *buf, const char *keyid);
405403
/* Parse the signature out of a header. */
406404
int parse_buffer_signed_by_header(const char *buffer,
407405
unsigned long size,

0 commit comments

Comments
 (0)