diff --git a/sched/pthread/CMakeLists.txt b/sched/pthread/CMakeLists.txt index 3e6675145b3..2d30f32feec 100644 --- a/sched/pthread/CMakeLists.txt +++ b/sched/pthread/CMakeLists.txt @@ -38,7 +38,7 @@ if(NOT CONFIG_DISABLE_PTHREAD) pthread_condclockwait.c pthread_sigmask.c pthread_cancel.c - pthread_initialize.c + pthread_sem.c pthread_completejoin.c pthread_findjoininfo.c pthread_release.c diff --git a/sched/pthread/Make.defs b/sched/pthread/Make.defs index d8d7cb8928f..6911317c70e 100644 --- a/sched/pthread/Make.defs +++ b/sched/pthread/Make.defs @@ -26,7 +26,7 @@ CSRCS += pthread_mutexinit.c pthread_mutexdestroy.c CSRCS += pthread_mutextimedlock.c pthread_mutextrylock.c pthread_mutexunlock.c CSRCS += pthread_condwait.c pthread_condsignal.c pthread_condbroadcast.c CSRCS += pthread_condclockwait.c pthread_sigmask.c pthread_cancel.c -CSRCS += pthread_initialize.c pthread_completejoin.c pthread_findjoininfo.c +CSRCS += pthread_sem.c pthread_completejoin.c pthread_findjoininfo.c CSRCS += pthread_release.c pthread_setschedprio.c CSRCS += pthread_barrierwait.c diff --git a/sched/pthread/pthread_initialize.c b/sched/pthread/pthread_sem.c similarity index 98% rename from sched/pthread/pthread_initialize.c rename to sched/pthread/pthread_sem.c index acb0964b9f5..7d3dc3d1406 100644 --- a/sched/pthread/pthread_initialize.c +++ b/sched/pthread/pthread_sem.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/pthread/pthread_initialize.c + * sched/pthread/pthread_sem.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with