Skip to content

Commit fd1f094

Browse files
committed
refs: add missing function declaration
The function `git_reference__is_note` is not declared anywhere. Let's add the declaration to avoid having non-static functions without declaration.
1 parent c6184f0 commit fd1f094

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/refs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ int git_reference__is_valid_name(const char *refname, unsigned int flags);
9090
int git_reference__is_branch(const char *ref_name);
9191
int git_reference__is_remote(const char *ref_name);
9292
int git_reference__is_tag(const char *ref_name);
93+
int git_reference__is_note(const char *ref_name);
9394
const char *git_reference__shorthand(const char *name);
9495

9596
/**

0 commit comments

Comments
 (0)