Commit 35d2e449bd6291c97bb8075f5976104c9ad57236

nulltoken 2012-08-20T11:26:02

checkout: cleanup misplaced declaration

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