summaryrefslogtreecommitdiff
path: root/include/git2/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/net.h')
-rw-r--r--include/git2/net.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index 18dd2df0..164f0ac0 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -29,6 +29,14 @@
#include "oid.h"
#include "types.h"
+/**
+ * @file git2/net.h
+ * @brief Git networking declarations
+ * @ingroup Git
+ * @{
+ */
+GIT_BEGIN_DECL
+
#define GIT_DEFAULT_PORT "9418"
/*
@@ -41,14 +49,6 @@
#define GIT_DIR_PUSH 1
/**
- * @file git2/net.h
- * @brief Git networking declarations
- * @ingroup Git
- * @{
- */
-GIT_BEGIN_DECL
-
-/**
* Remote head description, given out on `ls` calls.
*/
struct git_remote_head {
@@ -64,6 +64,6 @@ struct git_headarray {
struct git_remote_head **heads;
};
+/** @} */
GIT_END_DECL
-
#endif