Skip to content

Commit 831d527

Browse files
committed
move assert.h in compat.h
only used here
1 parent af0526b commit 831d527

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

compat.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
#if LUA_VERSION_NUM < 502
3+
# include <assert.h>
34
# define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l))
45
# define luaL_setfuncs(L,l,n) (assert(n==0), luaL_register(L,NULL,l))
56
#endif

lua-mosquitto.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636

3737
#include <string.h>
3838
#include <errno.h>
39-
#include <assert.h>
4039

4140
#include <lua.h>
4241
#include <lauxlib.h>

0 commit comments

Comments
 (0)