userdiff: add a builtin pattern for dts files
[gitweb.git] / t / helper / test-write-cache.c
index 3d78c728a5dabe27931f6664f5b6675021f059b9..8837717d36a77c04346279b570e1a0a4506fe838 100644 (file)
@@ -1,7 +1,8 @@
+#include "test-tool.h"
 #include "cache.h"
 #include "lockfile.h"
 
-int cmd_main(int argc, const char **argv)
+int cmd__write_cache(int argc, const char **argv)
 {
        struct lock_file index_lock = LOCK_INIT;
        int i, cnt = 1;