1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

Avoid the missing-prototypes warning

Warning option -Wmissing-prototypes raises a warning for all functions
that are neither static nor in a header. Some functions should be available
only for main.c but not in the official header (civetweb.h) since they are
subject to changes. In order to avoid this warning, additional headers
outside the include folder must be added.
This commit is contained in:
bel
2015-05-22 00:08:40 +02:00
parent 10372ce328
commit 13a6b935aa
3 changed files with 7 additions and 1 deletions

View File

@@ -641,7 +641,8 @@ static void set_absolute_path(char *options[],
#ifdef USE_LUA
#include "lua.h"
#include "lauxlib.h"
extern void lua_civet_open_all_libs(lua_State *L);
#include "lua_civet.h"
static int run_lua(const char *file_name)
{