diff options
Diffstat (limited to 'src/reg.c')
| -rw-r--r-- | src/reg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,6 +8,7 @@ #include "test.h"
#include "config.h"
#include "lullaby.h"
+#include <time.h>
#define open_common(name, config)\
int luaopen_lullaby_##name (lua_State* L){\
@@ -38,6 +39,7 @@ lua_settable(L, T); int luaopen_lullaby(lua_State* L) {
+ srand(time(NULL));
lua_newtable(L);
int top = lua_gettop(L);
|
