[PVFS2-CVS] commit by robl in pvfs2-1/src/common/gen-locks: gen-locks.c

CVS commit program cvs at parl.clemson.edu
Wed Feb 9 16:46:59 EST 2005


Update of /projects/cvsroot/pvfs2-1/src/common/gen-locks
In directory parlweb:/tmp/cvs-serv30604/src/common/gen-locks

Modified Files:
	gen-locks.c 
Log Message:
don't include pthread.h extraneously.  don't compile pthread versions if
NULL_LCOKING selected


Index: gen-locks.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/gen-locks/gen-locks.c,v
diff -u -w -p -u -r1.6 -r1.7
--- gen-locks.c	28 Jul 2004 14:32:34 -0000	1.6
+++ gen-locks.c	9 Feb 2005 21:46:59 -0000	1.7
@@ -11,7 +11,6 @@
 
 #include <stdlib.h>
 #include <errno.h>
-#include <pthread.h>
 
 #include "gen-locks.h"
 
@@ -19,6 +18,7 @@
  * visible functions
  */
 
+#ifndef __GEN_NULL_LOCKING__
 /*
  * gen_mutex_init()
  *
@@ -121,6 +121,7 @@ int gen_posix_mutex_destroy(
 
     return (0);
 }
+#endif
 
 /*
  * Local variables:



More information about the PVFS2-CVS mailing list