Commit 4ba321e7535bfa8365fbb77922293c473f0bea01

Stefan Sperling 2020-03-18T16:11:30

mark some functions static in got-fetch-pack

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];