diff --git a/checkout-index.c b/checkout-index.c
index 7b78715417039fe1d43699270cdc3d5adf6d2e9c..e56c354f8c44e9fc06acea7c4b2673b46f2a3a0b 100644 (file)
--- a/checkout-index.c
+++ b/checkout-index.c
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
#include "cache.h"
#include "strbuf.h"
#include "quote.h"
+#include "cache-tree.h"
#define CHECKOUT_ALL 4
static const char *prefix;
#define CHECKOUT_ALL 4
static const char *prefix;
static int checkout_all(void)
{
int i, errs = 0;
static int checkout_all(void)
{
int i, errs = 0;
- struct cache_entry* last_ce = 0;
+ struct cache_entry* last_ce = NULL;
for (i = 0; i < active_nr ; i++) {
struct cache_entry *ce = active_cache[i];
for (i = 0; i < active_nr ; i++) {
struct cache_entry *ce = active_cache[i];