diff options
author | Sverker Eriksson <[email protected]> | 2018-11-15 19:51:56 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-11-15 19:51:56 +0100 |
commit | bca55d663a804ce3617c5c2902eb1b462394e337 (patch) | |
tree | e6bfb0971d1f1f04781f8f7ee91e4309df1a6ed9 /lib | |
parent | 58076e7db30a9f35df729c7e58ebcbe48003bb14 (diff) | |
parent | cf8aae2646bc0c200d44577ca2942d3b53bd30e9 (diff) | |
download | otp-bca55d663a804ce3617c5c2902eb1b462394e337.tar.gz otp-bca55d663a804ce3617c5c2902eb1b462394e337.tar.bz2 otp-bca55d663a804ce3617c5c2902eb1b462394e337.zip |
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/c_src/crypto_callback.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/crypto/c_src/crypto_callback.c b/lib/crypto/c_src/crypto_callback.c index 23d2bed057..0cc7dd609d 100644 --- a/lib/crypto/c_src/crypto_callback.c +++ b/lib/crypto/c_src/crypto_callback.c @@ -179,6 +179,10 @@ DLLEXPORT struct crypto_callbacks* get_crypto_callbacks(int nlocks) /* This is not really a NIF library, but we use ERL_NIF_INIT in order to * get access to the erl_nif API (on Windows). */ -ERL_NIF_INIT(dummy, (ErlNifFunc*)NULL , NULL, NULL, NULL, NULL) +static struct { + int dummy__; + ErlNifFunc funcv[0]; +} empty; +ERL_NIF_INIT(dummy, empty.funcv, NULL, NULL, NULL, NULL) #endif |