Commit 109b4c887ffb63962c7017a66fc4a1f48becb48e

Edward Thomson 2021-09-04T21:05:46

Merge pull request #6032 from lhchavez/git-extern-git-remote-name-is-valid

1
2
3
4
5
6
7
8
9
10
11
12
13
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.