Remove useless includes

This commit is contained in:
Carlos Martín Nieto 2014-12-11 02:59:07 +01:00
parent cb6201b633
commit a9d993f3d1
20 changed files with 0 additions and 20 deletions

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
#include <string.h> #include <string.h>
extern int _go_git_blob_create_fromchunks(git_oid *id, extern int _go_git_blob_create_fromchunks(git_oid *id,

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
extern int _go_git_treewalk(git_tree *tree, git_treewalk_mode mode, void *ptr); extern int _go_git_treewalk(git_tree *tree, git_treewalk_mode mode, void *ptr);
*/ */

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"
import ( import (

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"
import "unsafe" import "unsafe"

1
git.go
View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"
import ( import (

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #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_add_all(git_index*, const git_strarray*, unsigned int, void*);
extern int _go_git_index_update_all(git_index*, const git_strarray*, void*); extern int _go_git_index_update_all(git_index*, const git_strarray*, void*);

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
extern git_annotated_commit** _go_git_make_merge_head_array(size_t len); 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); extern void _go_git_annotated_commit_array_set(git_annotated_commit** array, git_annotated_commit* ptr, size_t n);

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"
import "runtime" import "runtime"

1
odb.go
View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
extern int _go_git_odb_foreach(git_odb *db, void *payload); extern int _go_git_odb_foreach(git_odb *db, void *payload);
extern void _go_git_odb_backend_free(git_odb_backend *backend); extern void _go_git_odb_backend_free(git_odb_backend *backend);

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
#include <git2/pack.h> #include <git2/pack.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
int _go_git_push_status_foreach(git_push *push, void *data); 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); int _go_git_push_set_callbacks(git_push *push, void *packbuilder_progress_data, void *transfer_progress_data);

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
#include <git2/sys/refdb_backend.h> #include <git2/sys/refdb_backend.h>
extern void _go_git_refdb_backend_free(git_refdb_backend *backend); extern void _go_git_refdb_backend_free(git_refdb_backend *backend);

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"
import ( import (

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
extern void _go_git_revspec_free(git_revspec *revspec); extern void _go_git_revspec_free(git_revspec *revspec);
*/ */

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
extern int _go_git_visit_submodule(git_repository *repo, void *fct); extern int _go_git_visit_submodule(git_repository *repo, void *fct);
*/ */

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
extern int _go_git_treewalk(git_tree *tree, git_treewalk_mode mode, void *ptr); extern int _go_git_treewalk(git_tree *tree, git_treewalk_mode mode, void *ptr);
*/ */

View File

@ -2,7 +2,6 @@ package git
/* /*
#include <git2.h> #include <git2.h>
#include <git2/errors.h>
*/ */
import "C" import "C"