diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,13 @@ +#include <gio/gio.h> #include "modules/hostnamed/hostnamed.c" int main() { + GMainLoop *loop; + hostnamed_init(); - for(;;) {} + + loop = g_main_loop_new(NULL, FALSE); + g_main_loop_run(loop); + return 0; } |