Commit 81b8c9df4642328a7d0dc0920f1489748371d275

Carlos Martín Nieto 2013-03-30T04:50:53

transport: don't try to export nonexistent function

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/include/git2/transport.h b/include/git2/transport.h
index 783ea51..5e99683 100644
--- a/include/git2/transport.h
+++ b/include/git2/transport.h
@@ -165,16 +165,6 @@ typedef struct git_transport {
  */
 GIT_EXTERN(int) git_transport_new(git_transport **out, git_remote *owner, const char *url);
 
-/**
- * Function which checks to see if a transport could be created for the
- * given URL (i.e. checks to see if libgit2 has a transport that supports
- * the given URL's scheme)
- *
- * @param url The URL to check
- * @return Zero if the URL is not valid; nonzero otherwise
- */
-GIT_EXTERN(int) git_transport_valid_url(const char *url);
-
 /* Signature of a function which creates a transport */
 typedef int (*git_transport_cb)(git_transport **out, git_remote *owner, void *param);