]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fade.c
Make some functions/variables static.
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index 0304f4c6637a00fb89d9c5e43c6f04c78b616d16..868ada4120b55c67fd3260ea93f6d81ba42b9f9d 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -25,7 +25,7 @@
 #include "error.h"
 
 INIT_FADE_ERRLISTS;
-struct fade_args_info conf;
+static struct fade_args_info conf;
 
 __printf_2_3 void para_log(__a_unused int ll, const char *fmt, ...)
 {
@@ -216,7 +216,7 @@ static int sweet_dreams(void)
                tm->tm_sec = 0;
        } else {
                t1 += 9 * 60 * 60; /* nine hours from now */
-               PARA_INFO_LOG("default wake time: %lu\n", t1);
+               PARA_INFO_LOG("default wake time: %lu\n", (long unsigned)t1);
                tm = localtime(&t1);
        }
        wake_time_epoch = mktime(tm);