aboutsummaryrefslogtreecommitdiffstats
path: root/src/interfaces/hostnamed/hostnamed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/hostnamed/hostnamed.c')
-rw-r--r--src/interfaces/hostnamed/hostnamed.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c
index 522d750..9f152df 100644
--- a/src/interfaces/hostnamed/hostnamed.c
+++ b/src/interfaces/hostnamed/hostnamed.c
@@ -51,7 +51,7 @@ static void on_name_lost(GDBusConnection *conn,
hostnamed_mem_clean();
- //TODO exit through g_main_loop properly...
+ /* TODO exit through g_main_loop properly... */
}
/* safe call to try and start hostnamed */
@@ -81,7 +81,7 @@ GError *hostnamed_init() {
NULL,
NULL);
- //TODO: malloc and return reference as if a main() closed
+ /* TODO: malloc and return reference as if a main() closed */
return err;
}
@@ -91,14 +91,12 @@ void hostnamed_mem_clean() {
g_ptr_array_foreach(hostnamed_freeable, (GFunc) g_free, NULL);
}
-//TODO figure out DMI variables on obsd
+/* TODO figure out DMI variables on obsd */
/*static gchar *guess_icon_name() {
gchar *filebuf = NULL;
gchar *ret = NULL;
- //TODO vm check
-
#if defined(__i386__) || defined(__x86_64__)
Taken with a few minor changes from systemd's hostnamed.c,