Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
comparison dependency.c @ 69:8882e795016d
minor bug fix and name change
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Sat, 17 Mar 2012 00:42:11 -0700 |
| parents | 3c9ed64db705 |
| children | d20b105981b7 |
comparison
equal
deleted
inserted
replaced
| 6:7ecca131c2c6 | 7:b9237316199b |
|---|---|
| 1 #include "dependency.h" | 1 #include "dependency.h" |
| 2 #include "../VMS_impl/VMS.h" | 2 #include "VMS_impl/VMS.h" |
| 3 | 3 |
| 4 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task){ | 4 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task){ |
| 5 Dependency* newDep = (Dependency*) VMS_int__malloc(sizeof(Dependency)); | 5 Dependency* newDep = (Dependency*) VMS_int__malloc(sizeof(Dependency)); |
| 6 if (newDep!=NULL){ | 6 if (newDep!=NULL){ |
| 7 newDep->from_vp = from_vp; | 7 newDep->from_vp = from_vp; |
