From ab2f0c0cb9c3c1461f8875e98145fbe242b54751 Mon Sep 17 00:00:00 2001 From: "cibi.p" Date: Wed, 31 Dec 2025 17:03:40 +0530 Subject: [PATCH] spec: move timespecget to librtemscpu from objpsxsgnl The timespecget() API originates from C11 and should not be guarded by RTEMS_POSIX_API. Updates #5412 --- spec/build/cpukit/librtemscpu.yml | 1 + spec/build/cpukit/objpsxsgnl.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index 258367ee8d..e250d1fd73 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -1645,6 +1645,7 @@ source: - cpukit/score/src/timespecdividebyinteger.c - cpukit/score/src/timespecfromticks.c - cpukit/score/src/timespecgetasnanoseconds.c +- cpukit/posix/src/timespecget.c - cpukit/score/src/timespecisvalid.c - cpukit/score/src/timespeclessthan.c - cpukit/score/src/timespecsubtract.c diff --git a/spec/build/cpukit/objpsxsgnl.yml b/spec/build/cpukit/objpsxsgnl.yml index d064f7e5d3..c79ac0e94e 100644 --- a/spec/build/cpukit/objpsxsgnl.yml +++ b/spec/build/cpukit/objpsxsgnl.yml @@ -48,6 +48,5 @@ source: - cpukit/posix/src/timergetoverrun.c - cpukit/posix/src/timergettime.c - cpukit/posix/src/timersettime.c -- cpukit/posix/src/timespecget.c - cpukit/posix/src/ualarm.c type: build