Updated main to c11

This commit is contained in:
buffet 2018-10-22 17:25:17 +02:00
parent 412f0862b1
commit 52862c56ef

View file

@ -5,6 +5,7 @@
* You can obtain one at https://mozilla.org/MPL/2.0/. * You can obtain one at https://mozilla.org/MPL/2.0/.
*/ */
#include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@ -30,7 +31,7 @@
static void exec_config(const char *path); static void exec_config(const char *path);
static void sig_handler(int sig); static void sig_handler(int sig);
int g_is_about_to_quit = 0; bool g_is_about_to_quit = 0;
int int
main(int argc, char *argv[]) main(int argc, char *argv[])