From 653af100043ffb0c93d9adeb4ed14d078171ebb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Blondon?= Date: Sat, 29 Mar 2025 22:20:59 +0100 Subject: [PATCH] fix: remove two warnings during documentation generation Doxygen displays two warnings (among others) because parameters filled in @params are not correct. The warnings fixed are: pspsdk/src/user/pspthreadman.h:622: warning: argument 'optionsPTr' of command @param is not found in the argument list of sceKernelCreateLwMutex(SceLwMutexWorkarea *workarea, const char *name, SceUInt32 attr, int initialCount, u32 *optionsPtr) pspsdk/src/user/pspthreadman.h:622: warning: The following parameter of sceKernelCreateLwMutex(SceLwMutexWorkarea *workarea, const char *name, SceUInt32 attr, int initialCount, u32 *optionsPtr) is not documented: parameter 'optionsPtr' pspsdk/src/user/pspthreadman.h:665: warning: argument 'name' of command @param is not found in the argument list of sceKernelUnlockLwMutex(SceLwMutexWorkarea *workarea, int lockCount) --- src/user/pspthreadman.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/user/pspthreadman.h b/src/user/pspthreadman.h index a9b99bca..8fe7b350 100644 --- a/src/user/pspthreadman.h +++ b/src/user/pspthreadman.h @@ -623,7 +623,7 @@ typedef struct { * @param name - The name of the lightweight mutex * @param attr - The LwMutex attributes, zero or more of ::PspLwMutexAttributes. * @param initialCount - THe inital value of the mutex - * @param optionsPTr - Other optioons for mutex + * @param optionsPtr - Other options for mutex * * @return 0 on success, otherwise one of ::PspKernelErrorCodes */ @@ -663,7 +663,6 @@ int sceKernelLockLwMutex(SceLwMutexWorkarea *workarea, int lockCount, unsigned i * Lock a lightweight mutex * * @param workarea - The pointer to the workarea - * @param name - The name of the lightweight mutex * @param lockCount - value of decrease the lock counter * * @return 0 on success, otherwise one of ::PspKernelErrorCodes