From 1b41be049b792abe555606ebcac0e6582ea862bf Mon Sep 17 00:00:00 2001 From: X512 Date: Wed, 26 May 2021 12:49:29 +0900 Subject: [PATCH] libroot: convert pthread_spinlock to C++ Change-Id: Ic65b624d343c2cdb4bbb138c94c0ea2f01f27139 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4006 Reviewed-by: Adrien Destugues --- src/system/libroot/posix/pthread/Jamfile | 2 +- .../posix/pthread/{pthread_spinlock.c => pthread_spinlock.cpp} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/system/libroot/posix/pthread/{pthread_spinlock.c => pthread_spinlock.cpp} (100%) diff --git a/src/system/libroot/posix/pthread/Jamfile b/src/system/libroot/posix/pthread/Jamfile index 9a37630f10..c29f43d23c 100644 --- a/src/system/libroot/posix/pthread/Jamfile +++ b/src/system/libroot/posix/pthread/Jamfile @@ -25,7 +25,7 @@ for architectureObject in [ MultiArchSubDirSetup ] { pthread_mutexattr.c pthread_once.cpp pthread_rwlock.cpp - pthread_spinlock.c + pthread_spinlock.cpp ; } } diff --git a/src/system/libroot/posix/pthread/pthread_spinlock.c b/src/system/libroot/posix/pthread/pthread_spinlock.cpp similarity index 100% rename from src/system/libroot/posix/pthread/pthread_spinlock.c rename to src/system/libroot/posix/pthread/pthread_spinlock.cpp