targets/plc_main_head.c
changeset 1001 3f966bbb3fba
parent 985 cd8dadcef426
child 1391 f6818bb5e292
--- a/targets/plc_main_head.c	Tue Mar 26 00:35:52 2013 +0100
+++ b/targets/plc_main_head.c	Tue Mar 26 09:31:20 2013 +0900
@@ -2,7 +2,7 @@
  * Head of code common to all C targets
  **/
 
-#include "iec_types.h"
+#include "beremiz.h"
 /*
  * Prototypes of functions provided by generated C softPLC
  **/
@@ -28,8 +28,6 @@
  *  Variable generated by C softPLC and plugins
  **/
 extern unsigned long greatest_tick_count__;
-/* Tick time provided by POUS.C */
-extern unsigned long long common_ticktime__;
 
 /* Effective tick time with 1ms default value */
 static long long Ttick = 1000000;