aboutsummaryrefslogtreecommitdiffstats
path: root/src/interfaces/hostnamed
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-06-27 07:50:14 +0800
committerkremlin <ian@kremlin.cc>2014-06-27 07:50:14 +0800
commita6f11205f4da65a5671707d396df40203f668e1c (patch)
tree529abc4f1ae42d2befc8ee7e00e20104b48086dd /src/interfaces/hostnamed
parent205ba9a70cdc92cf0afdc09c9356ca59b9463f48 (diff)
downloadsystembsd-a6f11205f4da65a5671707d396df40203f668e1c.tar
systembsd-a6f11205f4da65a5671707d396df40203f668e1c.tar.gz
systembsd-a6f11205f4da65a5671707d396df40203f668e1c.tar.bz2
systembsd-a6f11205f4da65a5671707d396df40203f668e1c.tar.lz
systembsd-a6f11205f4da65a5671707d396df40203f668e1c.tar.xz
systembsd-a6f11205f4da65a5671707d396df40203f668e1c.tar.zst
systembsd-a6f11205f4da65a5671707d396df40203f668e1c.zip
replace C++ style comments
Diffstat (limited to 'src/interfaces/hostnamed')
-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,