diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-04 22:46:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-04 22:46:45 +0000 |
commit | babf43abf301d072192bda1f72a47440c354b072 (patch) | |
tree | d917d33ebb97d2b783e163f299b360be4f5b3a0a /src/libwpactrl/wpactrl_xchg_init.c | |
parent | 69099d84949a8044fdfc74e9d7ff6b9e57fc0bcd (diff) | |
download | bcnm-babf43abf301d072192bda1f72a47440c354b072.tar.xz |
Add the higher layer of libwpactrl
Diffstat (limited to 'src/libwpactrl/wpactrl_xchg_init.c')
-rw-r--r-- | src/libwpactrl/wpactrl_xchg_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libwpactrl/wpactrl_xchg_init.c b/src/libwpactrl/wpactrl_xchg_init.c index 37006dd..2e2f391 100644 --- a/src/libwpactrl/wpactrl_xchg_init.c +++ b/src/libwpactrl/wpactrl_xchg_init.c @@ -4,7 +4,7 @@ #include <skalibs/stralloc.h> #include <bcnm/wpactrl.h> -int wpactrl_xchg_init (wpactrl_xchg_t *dt, wpactrl_xchgitem_t const *tab, unsigned int n, tain_t const *limit, void *aux) +void wpactrl_xchg_init (wpactrl_xchg_t *dt, wpactrl_xchgitem_t const *tab, unsigned int n, tain_t const *limit, void *aux) { dt->sa.len = 0 ; dt->tab = tab ; @@ -13,5 +13,4 @@ int wpactrl_xchg_init (wpactrl_xchg_t *dt, wpactrl_xchgitem_t const *tab, unsign dt->deadline = *limit ; dt->status = ECONNABORTED ; dt->aux = aux ; - return 1 ; } |