#include "globals.h" #include GlobalStruct globals = { .Flags.do_check_settings = 1, .Registers.last_rise_time_relay_setting = 99 }; long sec_timer (void) { return (long)time(NULL); }