summaryrefslogtreecommitdiff
path: root/include/git2/net.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-26 20:00:34 -0800
committerBen Straub <bs@github.com>2012-11-27 13:18:29 -0800
commit05a3ab61c276472296cd9d52bfa7219e65356a9b (patch)
tree0ca717bcd35faa2858bf2cf235ff04c5d4b45178 /include/git2/net.h
parentfe55f1631c85b322fac5a322863b40beefe68252 (diff)
downloadlibgit2-05a3ab61c276472296cd9d52bfa7219e65356a9b.tar.gz
API updates for net.h
Diffstat (limited to 'include/git2/net.h')
-rw-r--r--include/git2/net.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index c2301b6f1..734ee708f 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
-#ifndef INCLUDE_net_h__
-#define INCLUDE_net_h__
+#ifndef INCLUDE_git_net_h__
+#define INCLUDE_git_net_h__
#include "common.h"
#include "oid.h"
@@ -44,7 +44,7 @@ struct git_remote_head {
/**
* Callback for listing the remote heads
*/
-typedef int (*git_headlist_cb)(git_remote_head *, void *);
+typedef int (*git_headlist_cb)(git_remote_head *rhead, void *payload);
/** @} */
GIT_END_DECL