]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Extern time_of_compilation.
authorJustin Lebar <justin.lebar@gmail.com>
Mon, 24 Dec 2012 21:16:46 +0000 (16:16 -0500)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 2 Mar 2013 19:36:02 +0000 (20:36 +0100)
ccache.c
ccache.h

index 8f1ab031e8b41d15c8a40aa5c8922815618327f8..e0bd25cf641703d5d737b8bc64e0e05196d978c2 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -138,7 +138,7 @@ static char *manifest_path;
  * Time of compilation. Used to see if include files have changed after
  * compilation.
  */
-static time_t time_of_compilation;
+time_t time_of_compilation;
 
 /*
  * Files included by the preprocessor and their hashes/sizes. Key: file path.
index 18a2b9ef194a15a60b4820291d7f30a1eb537ff9..5bcbf711b29d5934838c156b8d369ab661bd36b5 100644 (file)
--- a/ccache.h
+++ b/ccache.h
@@ -213,6 +213,7 @@ void lockfile_release(const char *path);
 /* ------------------------------------------------------------------------- */
 /* ccache.c */
 
+extern time_t time_of_compilation;
 bool cc_process_args(struct args *args, struct args **preprocessor_args,
                     struct args **compiler_args);
 void cc_reset(void);