From 93c6d10ea0048a32009395a2154978ce3f538da7 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 27 Jul 2022 08:48:22 -0300 Subject: 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. --- git.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'git.h') diff --git a/git.h b/git.h index 351b92d..dd770e2 100644 --- a/git.h +++ b/git.h @@ -5,17 +5,11 @@ #include #include -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. */ -- cgit v1.2.3-13-gbd6f