void reset_clock (const void *stuff) { if (x_debug & DEBUG_BROKEN_CLOCK) reset_broken_clock(); else if (get_int_var(METRIC_TIME_VAR)) reset_metric_clock(); else reset_standard_clock(); update_all_status(); cursor_to_input(); }
void reset_clock (void *stuff) { char * sclock; if (x_debug & DEBUG_BROKEN_CLOCK) reset_broken_clock(); else if (get_int_var(METRIC_TIME_VAR)) reset_metric_clock(); else reset_standard_clock(); sclock = get_string_var(STATUS_CLOCK_VAR); if (sclock && *sclock) update_all_status(); }