summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
17f7d8f)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
CFLAGS+= -Werror=redundant-decls -Werror=nested-externs -Winline
CFLAGS+= -Werror=undef
CFLAGS+= -Werror=redundant-decls -Werror=nested-externs -Winline
CFLAGS+= -Werror=undef
+CFLAGS+= -DCONFIG_YAFFS_USE_PTHREADS -lpthread
+
+
COMMONTESTOBJS = yaffscfg2k.o yaffs_osglue.o \
yaffs_ecc.o yaffs_fileem.o yaffs_fileem2k.o yaffsfs.o yaffs_guts.o \
yaffs_packedtags1.o yaffs_ramdisk.o yaffs_ramem2k.o \
COMMONTESTOBJS = yaffscfg2k.o yaffs_osglue.o \
yaffs_ecc.o yaffs_fileem.o yaffs_fileem2k.o yaffsfs.o yaffs_guts.o \
yaffs_packedtags1.o yaffs_ramdisk.o yaffs_ramem2k.o \
#ifdef CONFIG_YAFFS_USE_PTHREADS
#ifdef CONFIG_YAFFS_USE_PTHREADS
static pthread_mutex_t mutex1;
static pthread_mutex_t mutex1;
void yaffsfs_LockInit(void)
{
void yaffsfs_LockInit(void)
{
- pthread_mutex_init( &mutex, NULL);
+ pthread_mutex_init( &mutex1, NULL);