From 54b4b1f85af465acb4627ec423599a6c3b4a6fad Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 3 Sep 2021 09:46:36 +0200 Subject: score: Add _TOD_Is_valid_new_time_of_day() Move the TOD validation to the callers of _TOD_Set(). This avoids dead code in case only rtems_clock_set() is used in an application because rtems_clock_set() always calls _TOD_Set() with a valid time of day. --- cpukit/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/Makefile.am') diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 6b2c1fb5b7..591065adf3 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -1006,6 +1006,7 @@ librtemscpu_a_SOURCES += score/src/timespecgetasnanoseconds.c librtemscpu_a_SOURCES += score/src/coretod.c librtemscpu_a_SOURCES += score/src/coretodset.c librtemscpu_a_SOURCES += score/src/coretodadjust.c +librtemscpu_a_SOURCES += score/src/coretodcheck.c librtemscpu_a_SOURCES += score/src/watchdoginsert.c librtemscpu_a_SOURCES += score/src/coretodhookdata.c librtemscpu_a_SOURCES += score/src/coretodhookregister.c -- cgit v1.2.3