Code

am: format is in $patch_format, not parse_patch
[git.git] / connect.c
index 0ce941ef444277957efdd8a359a568775e2b17a4..76e542776abff8d07e7250ecfc8c7ae813302b2d 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -464,7 +464,7 @@ static void git_proxy_connect(int fd[2], char *host)
 
 #define MAX_CMD_LEN 1024
 
-char *get_port(char *host)
+static char *get_port(char *host)
 {
        char *end;
        char *p = strchr(host, ':');