projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor, more gitignore matching...
[systembsd.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 2ff00fddfad06945dcf15802bfa0ecf0ddc8b4a8..8ba890714434b4a2285953854ff04766f222aa10 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-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;
}