Merge pull request #6032 from lhchavez/git-extern-git-remote-name-is-valid
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 1f52fcd..51a7d1c 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -971,7 +971,7 @@ GIT_EXTERN(int) git_remote_rename(
* @param remote_name name to be checked.
* @return 0 on success or an error code
*/
-int git_remote_name_is_valid(int *valid, const char *remote_name);
+GIT_EXTERN(int) git_remote_name_is_valid(int *valid, const char *remote_name);
/**
* Delete an existing persisted remote.