Fixed to compile and run on origin2000 and origin-pthreads.
[charm.git] / src / conv-ldb / edgelist.c
index 96309cb25f36ec851330deef10067041cd553f28..dbd9d51824b0482e27a9b68cd12a9d4d440feb5f 100644 (file)
@@ -17,7 +17,7 @@ int E;
   return(edgesRec);
 }
 
-addEdge(EdgeList, v,w)
+void addEdge(EdgeList, v,w)
      EdgeListType * EdgeList;
      int v;
      int w;
@@ -37,7 +37,7 @@ addEdge(EdgeList, v,w)
    graph.vertexArray[w].degree++;
 }
 
-printEdges(EdgeList)
+void printEdges(EdgeList)
      EdgeListType * EdgeList;
 {int i;
  Edge * edges;
@@ -49,7 +49,7 @@ printEdges(EdgeList)
 
 int edgeExists(x,y)
 {
-  int deg, i, ind;
+  int i, ind;
   ind = graph.vertexArray[x].adjListInd; 
   
   for(i=0; i< graph.vertexArray[x].degree; i++)