X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=dir.c;h=0131983dfbc143ce5dae77e067663bb2e7d5f126;hb=a3c76f2858b1ceae5b70b7ee69d2663143dcce49;hp=1c3c5015249e6ac0ed0461b49f6581aebc8701a3;hpb=8b745e3ffdabe6ef110dc064af46b0ba993941e0;p=git.git diff --git a/dir.c b/dir.c index 1c3c50152..0131983df 100644 --- a/dir.c +++ b/dir.c @@ -382,7 +382,7 @@ static struct dir_entry *dir_entry_new(const char *pathname, int len) return ent; } -struct dir_entry *dir_add_name(struct dir_struct *dir, const char *pathname, int len) +static struct dir_entry *dir_add_name(struct dir_struct *dir, const char *pathname, int len) { if (cache_name_exists(pathname, len, ignore_case)) return NULL; @@ -391,7 +391,7 @@ struct dir_entry *dir_add_name(struct dir_struct *dir, const char *pathname, int return dir->entries[dir->nr++] = dir_entry_new(pathname, len); } -struct dir_entry *dir_add_ignored(struct dir_struct *dir, const char *pathname, int len) +static struct dir_entry *dir_add_ignored(struct dir_struct *dir, const char *pathname, int len) { if (cache_name_pos(pathname, len) >= 0) return NULL;