diff --git a/Makefile.am b/Makefile.am index 4e0272f..17b64a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ AUTOMAKE_OPTIONS = foreign -CFLAGS = -Wall -pedantic $(LIBLUA_CFLAGS) +CFLAGS = -Wall $(LIBLUA_CFLAGS) bin_PROGRAMS = lsyncd lsyncd_SOURCES = lsyncd.c lsyncd_LDADD = $(LIBLUA_LIBS) diff --git a/lsyncd.c b/lsyncd.c index 2ff5db1..2bd7df7 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -1,3 +1,4 @@ +#include "config.h" #include #include #include @@ -13,9 +14,9 @@ int main (int argc, char *argv[]) /* load Lua base libraries */ luaL_openlibs(L); /* register our function */ - //lua_register(L, "average", average); + /* lua_register(L, "average", average); */ /* run the script */ - luaL_dofile(L, "lsyncd.lua"); + (void) luaL_dofile(L, "lsyncd.lua"); /* cleanup Lua */ lua_close(L); /* pause */