[Pvfs2-cvs] commit by pw in pvfs2/src/io/bmi/bmi_gm: bmi-gm.c

CVS commit program cvs at parl.clemson.edu
Wed Jul 18 17:32:57 EDT 2007


Update of /projects/cvsroot/pvfs2/src/io/bmi/bmi_gm
In directory parlweb1:/tmp/cvs-serv15937/src/io/bmi/bmi_gm

Modified Files:
	bmi-gm.c 
Log Message:
Move private method parameters structures to their respective methods.


Index: bmi-gm.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi_gm/bmi-gm.c,v
diff -u -p -p -u -r1.84 -r1.85
--- bmi-gm.c	18 Jul 2007 21:04:00 -0000	1.84
+++ bmi-gm.c	18 Jul 2007 21:32:57 -0000	1.85
@@ -176,7 +176,12 @@ struct bmi_method_ops bmi_gm_ops = {
 };
 
 /* module parameters */
-static method_params_st gm_method_params;
+static struct
+{
+    int method_flags;
+    int method_id;
+    method_addr_p listen_addr;
+} gm_method_params;
 
 /* op_list_array indices */
 enum
@@ -441,7 +446,7 @@ int BMI_gm_initialize(method_addr_p list
 	sizeof(struct ctrl_msg);
 
     /* zero out our parameter structure and fill it in */
-    memset(&gm_method_params, 0, sizeof(struct method_params));
+    memset(&gm_method_params, 0, sizeof(gm_method_params));
     gm_method_params.method_id = method_id;
     gm_method_params.method_flags = init_flags;
 



More information about the Pvfs2-cvs mailing list