Commit Diff


commit - 1ff2107184dbd40fab4074751f009b9f4deec3de
commit + 4ba321e7535bfa8365fbb77922293c473f0bea01
blob - 167e339692f7948c6333077729a3e80e96ee1cd0
blob + 225b38877438194ee3a4f7d7843db40dd3553a8f
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
@@ -57,7 +57,7 @@ static int chattygit;
 static char *fetchbranch;
 static struct got_object_id zhash = {.sha1={0}};
 
-int
+static int
 readn(int fd, void *buf, size_t n)
 {
 	ssize_t r, off;
@@ -74,7 +74,7 @@ readn(int fd, void *buf, size_t n)
 	return off;
 }
 
-int
+static int
 flushpkt(int fd)
 {
 	if (chattygit)
@@ -83,7 +83,7 @@ flushpkt(int fd)
 }
 
 
-int
+static int
 readpkt(int fd, char *buf, int nbuf)
 {
 	char len[5];
@@ -113,7 +113,7 @@ readpkt(int fd, char *buf, int nbuf)
 	return n;
 }
 
-int
+static int
 writepkt(int fd, char *buf, int nbuf)
 {
 	char len[5];