diff options
author | Martin Willi <martin@revosec.ch> | 2014-10-09 16:11:29 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-10-10 11:42:18 +0200 |
commit | 046b547a37907ee303f23ba47ea2fee190e256d4 (patch) | |
tree | 327f31d3650911bee95e1f9b893067c49b9595b5 /src/libcharon/plugins/vici/libvici.c | |
parent | 6f5514933501769a709670cb1c1387426f2325a6 (diff) | |
download | strongswan-046b547a37907ee303f23ba47ea2fee190e256d4.tar.bz2 strongswan-046b547a37907ee303f23ba47ea2fee190e256d4.tar.xz |
vici: Don't include-depend on libstrongswan for boolean types
As we want to avoid the libstrongswan include dependencies for libvici, avoid
the use of the bool type. Unfortunately this change may break the ABI for
vici_dump(). As this function is mostly for debugging purposes, we do it
nonetheless; my apologies if somebody already relies on the ABI stability of
that function.
Diffstat (limited to 'src/libcharon/plugins/vici/libvici.c')
-rw-r--r-- | src/libcharon/plugins/vici/libvici.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/vici/libvici.c b/src/libcharon/plugins/vici/libvici.c index a2cbb3082..54b8cc582 100644 --- a/src/libcharon/plugins/vici/libvici.c +++ b/src/libcharon/plugins/vici/libvici.c @@ -438,7 +438,7 @@ void vici_free_req(vici_req_t *req) free(req); } -int vici_dump(vici_res_t *res, char *label, bool pretty, FILE *out) +int vici_dump(vici_res_t *res, char *label, int pretty, FILE *out) { if (res->message->dump(res->message, label, pretty, out)) { |