aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-02-04 12:27:29 +0100
committerSverker Eriksson <[email protected]>2011-02-18 15:15:47 +0100
commitd8babf8bb810ef62c17037d511435642f60eeed3 (patch)
tree2966baa414fea5ddc9906ca8db3210e20a444022 /erts/emulator/beam/erl_nif.h
parent35b85a49dc4ea6febc4cdb4a7024bb7a9aab72be (diff)
downloadotp-d8babf8bb810ef62c17037d511435642f60eeed3.tar.gz
otp-d8babf8bb810ef62c17037d511435642f60eeed3.tar.bz2
otp-d8babf8bb810ef62c17037d511435642f60eeed3.zip
remove NIF compile warning: no previous prototype for ‘nif_init’
Diffstat (limited to 'erts/emulator/beam/erl_nif.h')
-rw-r--r--erts/emulator/beam/erl_nif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_nif.h b/erts/emulator/beam/erl_nif.h
index 2719e0bfc3..8050b3640a 100644
--- a/erts/emulator/beam/erl_nif.h
+++ b/erts/emulator/beam/erl_nif.h
@@ -202,6 +202,7 @@ extern TWinDynNifCallbacks WinDynNifCallbacks;
#define ERL_NIF_INIT(NAME, FUNCS, LOAD, RELOAD, UPGRADE, UNLOAD) \
ERL_NIF_INIT_PROLOGUE \
ERL_NIF_INIT_GLOB \
+ERL_NIF_INIT_DECL(NAME); \
ERL_NIF_INIT_DECL(NAME) \
{ \
static ErlNifEntry entry = \