[Pvfs2-cvs] commit by slang in pvfs2/src/common/gen-locks:
gen-locks.h
CVS commit program
cvs at parl.clemson.edu
Tue Dec 5 19:10:55 EST 2006
Update of /projects/cvsroot/pvfs2/src/common/gen-locks
In directory parlweb1:/tmp/cvs-serv6973/src/common/gen-locks
Modified Files:
Tag: pvfs-2-6-branch
gen-locks.h
Log Message:
merge pw's fixes from HEAD that quiet warnings in non pthread scenario and include some headers that get missed otherwise. Also fix some warnings that crept in.
Index: gen-locks.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/gen-locks/gen-locks.h,v
diff -p -u -r1.11 -r1.11.8.1
--- gen-locks.h 20 Sep 2006 04:36:11 -0000 1.11
+++ gen-locks.h 6 Dec 2006 00:10:55 -0000 1.11.8.1
@@ -70,16 +70,19 @@ typedef unsigned long gen_thread_t;
static inline int gen_mutex_lock(
gen_mutex_t * mutex_p)
{
+ (void) mutex_p;
return 0;
}
static inline int gen_mutex_unlock(
gen_mutex_t * mutex_p)
{
+ (void) mutex_p;
return 0;
}
static inline int gen_mutex_trylock(
gen_mutex_t * mutex_p)
{
+ (void) mutex_p;
return 0;
}
static inline gen_mutex_t *gen_mutex_build(
More information about the Pvfs2-cvs
mailing list