summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-08-20 11:26:02 +0200
committernulltoken <emeric.fermas@gmail.com>2012-09-06 18:40:07 +0200
commit35d2e449bd6291c97bb8075f5976104c9ad57236 (patch)
treeadf21fd7dcdda191bf8d239bd052da15e33fbf98
parentced8d1420a76c13796d951203c2b35540a49b454 (diff)
downloadlibgit2-35d2e449bd6291c97bb8075f5976104c9ad57236.tar.gz
checkout: cleanup misplaced declaration
-rw-r--r--src/checkout.c6
-rw-r--r--src/clone.c7
2 files changed, 0 insertions, 13 deletions
diff --git a/src/checkout.c b/src/checkout.c
index 88df2128d..d1720fcf3 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 33953d7a0..e06e9ada8 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