Fix missing extern

This commit is contained in:
Michael Boulton 2020-08-14 09:18:48 +01:00
parent 1352980b36
commit 887d2d9eeb
No known key found for this signature in database
GPG Key ID: 8A62CA0BE2E0197E
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package git
/* /*
#include <git2.h> #include <git2.h>
extern void _go_git_populate_apply_cb(git_apply_options *options);
extern void _go_git_apply_init_options(git_apply_options *options); extern void _go_git_apply_init_options(git_apply_options *options);
extern int _go_git_diff_foreach(git_diff *diff, int eachFile, int eachHunk, int eachLine, void *payload); extern int _go_git_diff_foreach(git_diff *diff, int eachFile, int eachHunk, int eachLine, void *payload);
extern void _go_git_setup_diff_notify_callbacks(git_diff_options* opts); extern void _go_git_setup_diff_notify_callbacks(git_diff_options* opts);