mirror of
https://github.com/wiiu-env/libfat.git
synced 2024-11-28 04:34:20 +01:00
30 lines
397 B
C
30 lines
397 B
C
|
#include "common.h"
|
||
|
|
||
|
#ifndef USE_LWP_LOCK
|
||
|
|
||
|
#ifndef mutex_t
|
||
|
typedef int mutex_t;
|
||
|
#endif
|
||
|
|
||
|
void __attribute__ ((weak)) _FAT_lock_init(mutex_t *mutex)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
void __attribute__ ((weak)) _FAT_lock_deinit(mutex_t *mutex)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
void __attribute__ ((weak)) _FAT_lock(mutex_t *mutex)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
void __attribute__ ((weak)) _FAT_unlock(mutex_t *mutex)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
#endif // USE_LWP_LOCK
|