diff --git a/include/logglobals.h b/include/logglobals.h
index b84da2c40fe4e4d89e0d8694b20280627e68ee13..f903a351dd9b49a78f16da4c084a06afb2ce97af 100644
--- a/include/logglobals.h
+++ b/include/logglobals.h
@@ -120,11 +120,6 @@ extern short gategreen, gateyellow, gatered, gateorange, gateblack, gatewhite;
 
 extern short defineboxcolor, definebackcolor, definetextcolor, catboxcolor;
 
-extern short messagepos;   /* Position of next message */
-extern short messageright;   /* Maximum width of messages */
-
-extern long fastsavetime;
-
 extern long watchdog;   /* Miscellaneous timers */
 
 extern log_tool *simtype_ignore;   /* Non-simulated type */
diff --git a/src/log.c b/src/log.c
index 0ec497178355cdcffcd781a90f13b7a38270d8df..69805b5cbc5c3d1569ab2fe775b9f95d525a9901 100644
--- a/src/log.c
+++ b/src/log.c
@@ -199,8 +199,6 @@ short catboxcolor;
 short messagepos;   ///< Position of next message
 short messageright;   ///< Maximum width of messages
 
-long fastsavetime;
-
 long watchdog;  ///< Miscellaneous timers
 
 log_tool *simtype_ignore;   ///< Non-simulated type
diff --git a/src/pen.c b/src/pen.c
index 9540815033541b7cad003baa8392f508be1dc4a3..f3415889ca9e2b71622f7c7c049d3addf421959b 100644
--- a/src/pen.c
+++ b/src/pen.c
@@ -8,6 +8,8 @@
 #include "log.h"
 #include "window.h"
 
+long fastsavetime;
+
 /** @brief Find the position of the pen.
 			Also draws the cursor, runs logic probe.