Remove useless includes
This commit is contained in:
parent
cb6201b633
commit
a9d993f3d1
1
blob.go
1
blob.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
#include <string.h>
|
||||
|
||||
extern int _go_git_blob_create_fromchunks(git_oid *id,
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
|
|
1
clone.go
1
clone.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
*/
|
||||
import "C"
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern int _go_git_treewalk(git_tree *tree, git_treewalk_mode mode, void *ptr);
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
import (
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
|
1
git.go
1
git.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
import (
|
||||
|
|
1
index.go
1
index.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern int _go_git_index_add_all(git_index*, const git_strarray*, unsigned int, void*);
|
||||
extern int _go_git_index_update_all(git_index*, const git_strarray*, void*);
|
||||
|
|
1
merge.go
1
merge.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern git_annotated_commit** _go_git_make_merge_head_array(size_t len);
|
||||
extern void _go_git_annotated_commit_array_set(git_annotated_commit** array, git_annotated_commit* ptr, size_t n);
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
import "runtime"
|
||||
|
|
1
odb.go
1
odb.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern int _go_git_odb_foreach(git_odb *db, void *payload);
|
||||
extern void _go_git_odb_backend_free(git_odb_backend *backend);
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
#include <git2/pack.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
1
push.go
1
push.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
int _go_git_push_status_foreach(git_push *push, void *data);
|
||||
int _go_git_push_set_callbacks(git_push *push, void *packbuilder_progress_data, void *transfer_progress_data);
|
||||
|
|
1
refdb.go
1
refdb.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
#include <git2/sys/refdb_backend.h>
|
||||
|
||||
extern void _go_git_refdb_backend_free(git_refdb_backend *backend);
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
import (
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern void _go_git_revspec_free(git_revspec *revspec);
|
||||
*/
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern int _go_git_visit_submodule(git_repository *repo, void *fct);
|
||||
*/
|
||||
|
|
1
tree.go
1
tree.go
|
@ -2,7 +2,6 @@ package git
|
|||
|
||||
/*
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
extern int _go_git_treewalk(git_tree *tree, git_treewalk_mode mode, void *ptr);
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue