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)
This commit is contained in:
Stéphane Blondon
2025-03-29 22:20:59 +01:00
parent 508220242b
commit 653af10004

View File

@@ -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