@@ -108,19 +108,16 @@ struct set_gitdir_args {
108108 const char * alternate_db ;
109109};
110110
111- extern void repo_set_gitdir (struct repository * repo ,
112- const char * root ,
113- const struct set_gitdir_args * extra_args );
114- extern void repo_set_worktree (struct repository * repo , const char * path );
115- extern void repo_set_hash_algo (struct repository * repo , int algo );
116- extern void initialize_the_repository (void );
117- extern int repo_init (struct repository * r ,
118- const char * gitdir ,
119- const char * worktree );
120- extern int repo_submodule_init (struct repository * submodule ,
121- struct repository * superproject ,
122- const char * path );
123- extern void repo_clear (struct repository * repo );
111+ void repo_set_gitdir (struct repository * repo , const char * root ,
112+ const struct set_gitdir_args * extra_args );
113+ void repo_set_worktree (struct repository * repo , const char * path );
114+ void repo_set_hash_algo (struct repository * repo , int algo );
115+ void initialize_the_repository (void );
116+ int repo_init (struct repository * r , const char * gitdir , const char * worktree );
117+ int repo_submodule_init (struct repository * submodule ,
118+ struct repository * superproject ,
119+ const char * path );
120+ void repo_clear (struct repository * repo );
124121
125122/*
126123 * Populates the repository's index from its index_file, an index struct will
@@ -130,6 +127,6 @@ extern void repo_clear(struct repository *repo);
130127 * than zero if an error occured. If the repository's index has already been
131128 * populated then the number of entries will simply be returned.
132129 */
133- extern int repo_read_index (struct repository * repo );
130+ int repo_read_index (struct repository * repo );
134131
135132#endif /* REPOSITORY_H */
0 commit comments