diff.h: move declaration for global in diff.c from cache.h