]> granicus.if.org Git - graphviz/commitdiff
fix prototypes for C99 compiance, and to reduce compiler warning noise
authorellson <devnull@localhost>
Tue, 19 May 2009 14:03:42 +0000 (14:03 +0000)
committerellson <devnull@localhost>
Tue, 19 May 2009 14:03:42 +0000 (14:03 +0000)
cmd/smyrna/selection.c

index 0fe7cae2c2ddd4835979d7f3b2c31ed3e3058161..3b59a601a89d52232460ab9505f65e760d3243c4 100755 (executable)
@@ -476,7 +476,7 @@ int deselect_edge(topview_edge* E)
        
 }
 
-int select_all_nodes()
+int select_all_nodes(Agraph_t * g)
 {
     int ind = 0;
     //check if in the list
@@ -487,7 +487,7 @@ int select_all_nodes()
     return 1;
 }
 
-int select_all_edges()
+int select_all_edges(Agraph_t * g)
 {
     int ind = 0;
     //check if in the list
@@ -500,7 +500,7 @@ int select_all_edges()
 }
 
 
-int deselect_all_nodes()
+int deselect_all_nodes(Agraph_t * g)
 {
     int ind = 0;
     //check if in the list
@@ -512,7 +512,7 @@ int deselect_all_nodes()
 
 }
 
-int deselect_all_edges()
+int deselect_all_edges(Agraph_t * g)
 {
     int ind = 0;
     //check if in the list
@@ -525,16 +525,16 @@ int deselect_all_edges()
 }
 int select_all(Agraph_t * g)
 {
-    select_all_nodes();
-    select_all_edges();
+    select_all_nodes(g);
+    select_all_edges(g);
     return 1;
 
 }
 
 int deselect_all(Agraph_t * g)
 {
-    deselect_all_nodes();
-    deselect_all_edges();
+    deselect_all_nodes(g);
+    deselect_all_edges(g);
     return 1;
 }