builtin/apply: move check_apply_state() to apply.c
[gitweb.git] / apply.h
diff --git a/apply.h b/apply.h
index 08c0a252cbe898f087107123ea10bb142f8d43b2..53f09b5a45afc1109d1f13f1393c4af9f9c15bfe 100644 (file)
--- a/apply.h
+++ b/apply.h
@@ -102,9 +102,10 @@ extern int parse_whitespace_option(struct apply_state *state,
 extern int parse_ignorewhitespace_option(struct apply_state *state,
                                         const char *option);
 
-extern void init_apply_state(struct apply_state *state,
-                            const char *prefix,
-                            struct lock_file *lock_file);
+extern int init_apply_state(struct apply_state *state,
+                           const char *prefix,
+                           struct lock_file *lock_file);
 extern void clear_apply_state(struct apply_state *state);
+extern int check_apply_state(struct apply_state *state, int force_apply);
 
 #endif