summaryrefslogtreecommitdiff
path: root/src/status.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-11-21 11:53:54 -0800
committerBen Straub <bs@github.com>2012-11-27 13:18:29 -0800
commitd574de0e6ef05c5de89810b5460bc201ddc513de (patch)
treefb68b0e7acfa8ba70a9225eec305bb284e042304 /src/status.c
parent9daf240053dbe843ed925ccb713edad4a4ddff9e (diff)
downloadlibgit2-d574de0e6ef05c5de89810b5460bc201ddc513de.tar.gz
API updates for status.h
Diffstat (limited to 'src/status.c')
-rw-r--r--src/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/status.c b/src/status.c
index 468417249..c7dea2c71 100644
--- a/src/status.c
+++ b/src/status.c
@@ -78,7 +78,7 @@ static unsigned int workdir_delta2status(git_delta_t workdir_status)
}
typedef struct {
- int (*cb)(const char *, unsigned int, void *);
+ git_status_cb cb;
void *payload;
} status_user_callback;
@@ -104,7 +104,7 @@ static int status_invoke_cb(
int git_status_foreach_ext(
git_repository *repo,
const git_status_options *opts,
- int (*cb)(const char *, unsigned int, void *),
+ git_status_cb cb,
void *payload)
{
int err = 0;
@@ -178,7 +178,7 @@ cleanup:
int git_status_foreach(
git_repository *repo,
- int (*callback)(const char *, unsigned int, void *),
+ git_status_cb callback,
void *payload)
{
git_status_options opts;