Skip to content

Commit 62ee779

Browse files
committed
remote: Mark git_remote_name_is_valid as GIT_EXTERN
This change makes `git_remote_name_is_valid` be part of the public interface of the library. This is needed for other language bindings to be able to find this symbol (like in git2go, when linking against libgit2 dynamically).
1 parent a88fdda commit 62ee779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/remote.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ GIT_EXTERN(int) git_remote_rename(
971971
* @param remote_name name to be checked.
972972
* @return 0 on success or an error code
973973
*/
974-
int git_remote_name_is_valid(int *valid, const char *remote_name);
974+
GIT_EXTERN(int) git_remote_name_is_valid(int *valid, const char *remote_name);
975975

976976
/**
977977
* Delete an existing persisted remote.

0 commit comments

Comments
 (0)