From 42a0d5feb50e4988a9f19bbfa9aaca9e52f35608 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 13 Jun 2021 19:13:14 -0400 Subject: Include `git.h` in `pullreqd.c`. Also added the necessary externs. --- git.c | 1 - git.h | 4 ++++ pullreqd.c | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/git.c b/git.c index fbeb0e9..65a5c62 100644 --- a/git.c +++ b/git.c @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include diff --git a/git.h b/git.h index 768ec9a..27b6f35 100644 --- a/git.h +++ b/git.h @@ -1,6 +1,7 @@ #ifndef GIT_H #define GIT_H +#include #include typedef struct git_repo git_repo; @@ -10,4 +11,7 @@ struct git_repo { git_repository *repo; }; +extern void cleanup_git(git_repository **repos); +extern git_repository **init_git(config *cfg); + #endif diff --git a/pullreqd.c b/pullreqd.c index a4a96b0..15d05f3 100644 --- a/pullreqd.c +++ b/pullreqd.c @@ -6,6 +6,7 @@ #include #include #include "config.h" +#include "git.h" #include "macros.h" #include "network.h" -- cgit v1.2.3-13-gbd6f