aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtnccs/plugins/tnccs_11/batch/tnccs_batch.h
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-05-11 14:04:47 +0300
committerTobias Brunner <tobias@strongswan.org>2017-05-15 16:33:21 +0200
commit0727c8a53324157fa30fb3a97aff0a168ad86753 (patch)
treeb73884136e0c6f4b6883d1683e53f33b84c70934 /src/libtnccs/plugins/tnccs_11/batch/tnccs_batch.h
parenta5f7a4c790067a0bcc6d8a76696ba1c779430cec (diff)
downloadstrongswan-0727c8a53324157fa30fb3a97aff0a168ad86753.tar.bz2
strongswan-0727c8a53324157fa30fb3a97aff0a168ad86753.tar.xz
af-alg: Fix crypt() definition conflict
Rename the crypt() method to avoid conflict with POSIX crypt(). Fixes the following build failure with musl libc: In file included from ../../../../src/libstrongswan/utils/utils.h:53:0, from ../../../../src/libstrongswan/library.h:101, from af_alg_ops.h:24, from af_alg_ops.c:16: af_alg_ops.c:110:22: error: conflicting types for 'crypt' METHOD(af_alg_ops_t, crypt, bool, ^ ../../../../src/libstrongswan/utils/utils/object.h:99:13: note: in definition of macro 'METHOD' static ret name(union {iface *_public; this;} \ ^ In file included from af_alg_ops.c:18:0: .../host/usr/x86_64-buildroot-linux-musl/sysroot/usr/include/unistd.h:144:7: note: previous declaration of 'crypt' was here char *crypt(const char *, const char *); ^ Closes strongswan/strongswan#72.
Diffstat (limited to 'src/libtnccs/plugins/tnccs_11/batch/tnccs_batch.h')
0 files changed, 0 insertions, 0 deletions