summaryrefslogtreecommitdiff
path: root/builtin-checkout-index.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2006-08-14 13:20:12 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-14 18:59:03 -0700
commitf7f0fbfcf4fb9367a12aba3a205fb5e1276a2800 (patch)
tree1fc37b661961c00f80f62f7f12b436a36fa6d341 /builtin-checkout-index.c
parentcf995ede2cf53d70e5de2525184597211c827dc5 (diff)
downloadgit-f7f0fbfcf4fb9367a12aba3a205fb5e1276a2800.tar.gz
Make checkout_all void.
Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-checkout-index.c')
-rw-r--r--builtin-checkout-index.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c
index 8d0dbad49e..6b55f931cb 100644
--- a/builtin-checkout-index.c
+++ b/builtin-checkout-index.c
@@ -122,7 +122,7 @@ static int checkout_file(const char *name, int prefix_length)
return -1;
}
-static int checkout_all(const char *prefix, int prefix_length)
+static void checkout_all(const char *prefix, int prefix_length)
{
int i, errs = 0;
struct cache_entry* last_ce = NULL;
@@ -153,7 +153,6 @@ static int checkout_all(const char *prefix, int prefix_length)
* exit with the same code as die().
*/
exit(128);
- return 0;
}
static const char checkout_cache_usage[] =