add missing 'static' for local functions
diff --git a/lib/diff.c b/lib/diff.c
index db3b2c1..0a0c246 100644
--- a/lib/diff.c
+++ b/lib/diff.c
@@ -214,7 +214,7 @@ got_diff_free_changes(struct got_diff_changes *changes)
free(changes);
}
-struct got_tree_entry *
+static struct got_tree_entry *
match_entry_by_name(struct got_tree_entry *te1, struct got_tree_object *tree2)
{
struct got_tree_entry *te2;
diff --git a/lib/fileindex.c b/lib/fileindex.c
index 58b78e5..a8587e9 100644
--- a/lib/fileindex.c
+++ b/lib/fileindex.c
@@ -553,7 +553,7 @@ got_fileindex_read(struct got_fileindex *fileindex, FILE *infile)
return NULL;
}
-struct got_fileindex_entry *
+static struct got_fileindex_entry *
walk_fileindex(struct got_fileindex *fileindex, struct got_fileindex_entry *ie)
{
struct got_fileindex_entry *next;