Better just export main instead of declaring it as extern, it's cleaner
and may be usable elsewhere.
int tell_old_pids(int sig);
int delete_oldpid(int pid);
+int main(int argc, char **argv);
void deinit(void);
void hap_register_build_opts(const char *str, int must_free);
void hap_register_post_check(int (*fct)());
const struct stream *s = NULL;
const struct appctx __maybe_unused *appctx = NULL;
struct hlua __maybe_unused *hlua = NULL;
- extern int main(int, char **);
if (!task) {
chunk_appendf(buf, "0\n");