mark some functions static in got-fetch-pack
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index 167e339..225b388 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/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];