unpack-trees: don't shadow global var the_index
[gitweb.git] / unpack-trees.h
index c2b434c60648fb0e287c100a32d9346a765ab74f..534358fcc5603e0996ed1b07ddd7c7de9dce4331 100644 (file)
@@ -82,8 +82,8 @@ struct unpack_trees_options {
        struct exclude_list *el; /* for internal use */
 };
 
-extern int unpack_trees(unsigned n, struct tree_desc *t,
-               struct unpack_trees_options *options);
+int unpack_trees(unsigned n, struct tree_desc *t,
+                struct unpack_trees_options *options);
 
 int verify_uptodate(const struct cache_entry *ce,
                    struct unpack_trees_options *o);