[PVFS2-CVS] commit by pcarns in pvfs2/src/server: pvfs2-server.h

CVS commit program cvs at parl.clemson.edu
Mon Jul 19 20:46:16 EDT 2004


Update of /projects/cvsroot/pvfs2/src/server
In directory styx.parl.clemson.edu:/tmp/pvfs2/src/server

Modified Files:
	pvfs2-server.h 
Log Message:
added fix for warning seen with some compilers during dependency
building step for msgpairarray


Index: pvfs2-server.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.h,v
diff -p -u -r1.91 -r1.92
--- pvfs2-server.h	13 Jul 2004 20:24:39 -0000	1.91
+++ pvfs2-server.h	19 Jul 2004 23:46:16 -0000	1.92
@@ -19,6 +19,11 @@
 #include "PINT-reqproto-encode.h"
 #include "msgpairarray.h"
 
+/* skip everything except #includes if __SM_CHECK_DEP is already defined; this
+ * allows us to get the dependencies right for msgpairarray.sm which relies
+ * on conflicting headers for dependency information
+ */
+#ifndef __SM_CHECK_DEP
 
 extern job_context_id server_job_context;
 
@@ -379,5 +384,6 @@ int server_state_machine_start_noreq(PIN
  * vim: ts=8 sts=4 sw=4 noexpandtab
  */
 
+#endif /* __SM_CHECK_DEP */ 
 #endif /* __PVFS_SERVER_H */
 



More information about the PVFS2-CVS mailing list