|
@@ -733,7 +733,7 @@ send_qspn_backpro(void *argv)
|
733
|
733
|
if (int_map[to].flags & QSPN_STARTER) {
|
734
|
734
|
fprintf(stderr, "%u: qspn_backpro: We've arrived... finally\n",
|
735
|
735
|
pthread_self());
|
736
|
|
- return;
|
|
736
|
+ return NULL;
|
737
|
737
|
}
|
738
|
738
|
|
739
|
739
|
for (x = 0; x < int_map[to].links; x++) {
|
|
@@ -789,7 +789,7 @@ send_qspn_reply(void *argv)
|
789
|
789
|
"%u: DROPPED old brdcast: q.broadcast: %d, qopt->q.from broadcast: %d\n",
|
790
|
790
|
pthread_self(), qopt->q.broadcast,
|
791
|
791
|
int_map[to].brdcast[qopt->q.from]);
|
792
|
|
- return;
|
|
792
|
+ return NULL;
|
793
|
793
|
} else
|
794
|
794
|
int_map[to].brdcast[qopt->q.from] = qopt->q.broadcast;
|
795
|
795
|
|
|
@@ -847,7 +847,7 @@ send_qspn_open(void *argv)
|
847
|
847
|
fprintf(stderr,
|
848
|
848
|
"%u: qspn_open: We received a qspn_open, but we are the OPENER!!\n",
|
849
|
849
|
pthread_self());
|
850
|
|
- return;
|
|
850
|
+ return NULL;
|
851
|
851
|
}
|
852
|
852
|
|
853
|
853
|
for (x = 0; x < int_map[to].links; x++) {
|
|
@@ -867,7 +867,7 @@ send_qspn_open(void *argv)
|
867
|
867
|
fprintf(stderr,
|
868
|
868
|
"%u: Yai! We've finished the reopening of heaven\n",
|
869
|
869
|
pthread_self());
|
870
|
|
- return;
|
|
870
|
+ return NULL;
|
871
|
871
|
}
|
872
|
872
|
|
873
|
873
|
for (x = 0; x < int_map[to].links; x++) {
|
|
@@ -924,7 +924,7 @@ send_qspn_pkt(void *argv)
|
924
|
924
|
fprintf(stderr,
|
925
|
925
|
"%u: qspn_pkt: We received a qspn_pkt, but we are the QSPN_STARTER!!\n",
|
926
|
926
|
pthread_self());
|
927
|
|
- return;
|
|
927
|
+ return NULL;
|
928
|
928
|
}
|
929
|
929
|
|
930
|
930
|
for (x = 0; x < int_map[to].links; x++) {
|
|
@@ -980,7 +980,7 @@ send_qspn_pkt(void *argv)
|
980
|
980
|
pthread_self(), dst);
|
981
|
981
|
thread_joint(qopt->join, send_qspn_open, (void *) nopt);
|
982
|
982
|
xfree(qopt);
|
983
|
|
- return;
|
|
983
|
+ return NULL;
|
984
|
984
|
}
|
985
|
985
|
}
|
986
|
986
|
#else /*Q_OPEN not defined */
|
|
@@ -1024,7 +1024,7 @@ send_qspn_pkt(void *argv)
|
1024
|
1024
|
pthread_self(), dst);
|
1025
|
1025
|
thread_joint(qopt->join, send_qspn_reply, (void *) nopt);
|
1026
|
1026
|
xfree(qopt);
|
1027
|
|
- return;
|
|
1027
|
+ return NULL;
|
1028
|
1028
|
}
|
1029
|
1029
|
}
|
1030
|
1030
|
#endif /*Q_OPEN */
|