X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=src%2Finterfaces%2Fhostnamed%2Fhostnamed.c;h=9f152dfb22a781121c51091e4571e66cca8b3088;hp=522d750959eadf90b853d641b74c299b422232f4;hb=a6f11205f4da65a5671707d396df40203f668e1c;hpb=205ba9a70cdc92cf0afdc09c9356ca59b9463f48 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,