diff options
| -rw-r--r-- | git.c | 1 | ||||
| -rw-r--r-- | git.h | 4 | ||||
| -rw-r--r-- | pullreqd.c | 1 | 
3 files changed, 5 insertions, 1 deletions
| @@ -1,7 +1,6 @@  #include <dirent.h>  #include <errno.h>  #include <fcntl.h> -#include <git2.h>  #include <stdio.h>  #include <stdlib.h>  #include <string.h> @@ -1,6 +1,7 @@  #ifndef GIT_H  #define GIT_H +#include <git2.h>  #include <stdint.h>  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 @@ -6,6 +6,7 @@  #include <syslog.h>  #include <unistd.h>  #include "config.h" +#include "git.h"  #include "macros.h"  #include "network.h" | 
