diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-28 19:54:25 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-28 19:54:25 -0300 |
commit | 052e06fd16f5ef161a10fc7880e32827c814bea2 (patch) | |
tree | 8ffdcbf75e8f235fc7209cbed4d745556d0b5d91 /git.c | |
parent | c8f5ba65044992deb3175e9b89792e13a8af4539 (diff) |
index: rename typedef `index` to `index_t`
This had to be done because `index()` is a function in the standard
library.
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -281,7 +281,7 @@ static int parse_info_file_path(pull_request *pr, const char *root) { return ret; } -pull_request *get_pull_request(index *idx, const char *root) { +pull_request *get_pull_request(index_t *idx, const char *root) { /* Do we have a valid index? */ if (is_valid_index(idx)) { char *pr_dir; @@ -519,7 +519,7 @@ file **get_branch_commits(git_branch *br) { return NULL; } -int create_pull_request_dir(pull_request *pr, index *idx, const char *root) { +int create_pull_request_dir(pull_request *pr, index_t *idx, const char *root) { int ret = 0; struct stat st; file **commits; |