projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syncing between computers..
[systembsd.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index 52386992f243ac3493fa5be4ce2d0dba7c6a82d2..c19b489c31633dea4c4a60cf041e8b8a23445971 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1,5
+1,12
@@
-#include "modules/hostnamed/hostnamed.c"
+#include <gio/gio.h>
+#include "interfaces/hostnamed/hostnamed.c"
int main() {
int main() {
+ GMainLoop *mloop = NULL;
+
+ mloop = g_main_loop_new(NULL, FALSE);
+ hostnamed_init();
+ g_main_loop_run(mloop);
+
return 0;
return 0;
-}
+}