]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Updated to the changed prototype of fra_register()
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 12 Dec 2008 16:39:09 +0000 (17:39 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 12 Dec 2008 16:39:09 +0000 (17:39 +0100)
fwp/lib/frsh_fwp/fwp_fna.c
fwp/lib/frsh_fwp/fwp_fra.c
fwp/lib/frsh_fwp/fwp_res.h

index 986a9555725a07067aa410226d622ae3e2a1702e..ca7a4ab894f4556b712db0942403ad37d9036662 100644 (file)
@@ -58,8 +58,7 @@ int fwp_fna_init(const frsh_resource_id_t resource_id)
        if ((rv = fwp_init()))
                return rv;
 
-       return fra_fwp_init(frsh_forb_global.orb, frsh_forb_global.fcb,
-                               &frsh_forb_global.alloc_executor);
+       return fra_fwp_init();
 }
 
 int fwp_fna_network_budget_to_bytes(const frsh_resource_id_t resource_id,
index ce503017e8b0b2699701369ebbaa0fb08a56801f..a0e3d55578485f20f6391209330cd7126447e254 100644 (file)
@@ -119,8 +119,8 @@ static struct fres_allocator fwp_allocator = {
        .priv = NULL
 };
 
-int fra_fwp_init(forb_orb orb, fres_contract_broker fcb, forb_executor_t *executor)
+int fra_fwp_init(void)
 {
        fres_block_register_fwp();
-       return fra_register(orb, fcb, executor, &fwp_allocator);
+       return fra_register(&fwp_allocator);
 }
index 46a9fd503c8c43dbe919b445395b17c6c89939da..fd0879785df9e2d4162c72ad56e5a76699f45730 100644 (file)
@@ -51,7 +51,7 @@
 #include <frsh_distributed.h>
 #include "fwp_idl.h"
 
-int fra_fwp_init(forb_orb orb, fres_contract_broker fcb, forb_executor_t *executor);
+int fra_fwp_init();
 int fres_block_register_fwp();
 
 #endif /* FWP_RES_H */