commit c2ac94566e2a939475a82ccfde0d509ea8508c7e from: Stefan Sperling date: Fri Mar 15 15:39:34 2019 UTC add missing 'static' for local functions commit - a0bf6e7678e8d1b26d81d20cd746b85bf9bb9676 commit + c2ac94566e2a939475a82ccfde0d509ea8508c7e blob - db3b2c1513a367b64f3a9fe786aa2c9c0cfb8f4c blob + 0a0c2462adeea20a838667cf2dc30811a6405fdf --- lib/diff.c +++ 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; blob - 58b78e5b17bd3786d0a0e8189b389f2116f67aad blob + a8587e97439fced1410fdf3726c295593a68d7af --- lib/fileindex.c +++ lib/fileindex.c @@ -553,7 +553,7 @@ got_fileindex_read(struct got_fileindex *fileindex, FI 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;