Permalink
Browse files

remove NIF compile warning: no previous prototype for ‘nif_init’

  • Loading branch information...
sverker committed Feb 4, 2011
1 parent 35b85a4 commit d8babf8bb810ef62c17037d511435642f60eeed3
Showing with 1 addition and 0 deletions.
  1. +1 −0 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 = \

0 comments on commit d8babf8

Please sign in to comment.