Commit 018e0a9a451218ebe68b2af160d30a71754a6c41

Stefan Sperling 2020-03-18T16:10:32

rename got_fetch_pack to just fetch_pack; this function is static

diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index 5c10d3e..f3c5837 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -282,7 +282,7 @@ got_tokenize_refline(char *line, char **sp, size_t nsp)
 }
 
 static const struct got_error *
-got_fetch_pack(int fd, int packfd, struct got_object_id *packid)
+fetch_pack(int fd, int packfd, struct got_object_id *packid)
 {
 	const struct got_error *err = NULL;
 	char buf[GOT_PKTMAX], *sp[3];
@@ -487,7 +487,7 @@ main(int argc, char **argv)
 	}
 	packfd = imsg.fd;
 
-	err = got_fetch_pack(fetchfd, packfd, &packid);
+	err = fetch_pack(fetchfd, packfd, &packid);
 	if (err)
 		goto done;
 done: