@@ -221,7 +221,7 @@ static int can_set_sched_fifo(void) {
221221 return 1 ;
222222}
223223
224- rtapi_realtime_type_t rtapi_realtime_type (void ){
224+ rtapi_realtime_type_t rtapi_get_realtime_type (void ){
225225 static rtapi_realtime_type_t cached = REALTIME_TYPE_UNINITIALIZED ;
226226 if (cached != REALTIME_TYPE_UNINITIALIZED ){
227227 return cached;
@@ -253,7 +253,7 @@ rtapi_realtime_type_t rtapi_realtime_type(void){
253253 return cached;
254254 }
255255
256- rtapi_print_msg (RTAPI_MSG_ERR , " rtapi_realtime_type (): Bug, something unknown is running\n " );
256+ rtapi_print_msg (RTAPI_MSG_ERR , " rtapi_get_realtime_type (): Bug, something unknown is running\n " );
257257 cached = REALTIME_TYPE_PREEMPT_DYNAMIC ;
258258 return cached;
259259}
@@ -266,7 +266,7 @@ rtapi_realtime_type_t rtapi_realtime_type(void){
266266// wrapper-based installs like NixOS /run/wrappers) and silently masked
267267// LINUXCNC_FORCE_REALTIME (see issue #3928).
268268int rtapi_is_realtime () {
269- return rtapi_realtime_type () > 0 ;
269+ return rtapi_get_realtime_type () > 0 ;
270270}
271271
272272struct message_t {
@@ -1263,7 +1263,7 @@ static void raise_net_admin_ambient(void) {
12631263
12641264static RtapiApp *makeApp () {
12651265 RtapiApp *app;
1266- rtapi_realtime_type_t rt_type = rtapi_realtime_type ();
1266+ rtapi_realtime_type_t rt_type = rtapi_get_realtime_type ();
12671267 if (rt_type == REALTIME_TYPE_NONE ) {
12681268 app = makeDllApp (" liblinuxcnc-uspace-posix.so.0" , SCHED_OTHER );
12691269 } else {
0 commit comments