]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Merge branch 'master' of frsh-forb.git.sourceforge.net:/gitroot/frsh-forb/fwp
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 10 Nov 2009 08:32:37 +0000 (09:32 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 10 Nov 2009 08:32:37 +0000 (09:32 +0100)
fwp/lib/fwp/fwp_vres.c
fwp/lib/fwp/fwp_vres.h

index 804d63aed332c49949122568e67cd11d3bbb48d7..1a4de36588a577119b9b42da65525bcc059d5743 100644 (file)
@@ -197,11 +197,6 @@ int fwp_vres_table_init(unsigned int max_vres)
        return 0;
 }
 
-fwp_vres_id_t fwp_vres_get_id(fwp_vres_t *vres)
-{
-       return (vres - fwp_vres_table.entry);
-}
-
 /**
  * Allocate vres
  *
index aa761048980cc23e78bc2c90e7fbd543f589233a..f6a9b0629c8599a9bfd0f3074bc048c7abae3887 100644 (file)
@@ -88,7 +88,6 @@ struct fwp_vres_params {
 int fwp_vres_table_init(unsigned int max_vres);
 
 fwp_vres_t *fwp_vres_alloc();
-fwp_vres_id_t fwp_vres_get_id(fwp_vres_t *vres);
 int fwp_vres_set_params(fwp_vres_t *vres, fwp_vres_params_t *params);
 int fwp_vres_create(fwp_vres_params_t *params, fwp_vres_t **vresp);
 int fwp_vres_destroy(fwp_vres_t *vres);