diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-27 08:48:22 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-07-27 08:58:27 -0300 |
commit | 93c6d10ea0048a32009395a2154978ce3f538da7 (patch) | |
tree | 67ef5aaccdf2efbec9898a1e322c23b3b6949f71 /git.h | |
parent | 1d6d32d044e67fc984e5c1b8361460844fec52db (diff) |
git: Replace all uses of `git_repo` with the more generic `linked_list`
We don't need a type specific linked list anymore, so we can just get
rid of it, plus it makes the code much cleaner in the process.
Diffstat (limited to 'git.h')
-rw-r--r-- | git.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -5,17 +5,11 @@ #include <stdint.h> #include <time.h> -typedef struct git_repo git_repo; typedef struct pull_request pull_request; typedef struct file file; typedef struct comment comment; typedef struct git_branch git_branch; -struct git_repo { - git_repo *next; - git_repository *repo; -}; - struct file { char *name; /* Name of file. */ char *buf; /* Buffer containing contents of file. */ |