checkout: cleanup misplaced declaration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/src/checkout.c b/src/checkout.c
index 88df212..d1720fc 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -22,9 +22,6 @@
#include "filter.h"
#include "blob.h"
-GIT_BEGIN_DECL
-
-
typedef struct tree_walk_data
{
git_indexer_stats *stats;
@@ -226,6 +223,3 @@ int git_checkout_reference(git_reference *ref,
git_reference_free(head);
return retcode;
}
-
-
-GIT_END_DECL
diff --git a/src/clone.c b/src/clone.c
index 33953d7..e06e9ad 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -26,8 +26,6 @@
#include "refs.h"
#include "path.h"
-GIT_BEGIN_DECL
-
struct HeadInfo {
git_repository *repo;
git_oid remote_head_oid;
@@ -247,8 +245,3 @@ int git_clone(git_repository **out,
return retcode;
}
-
-
-
-
-GIT_END_DECL