minor, clarify what "misc functions" are in comments
[systembsd.git] / src / interfaces / hostnamed / hostnamed.c
index 33ea79ead417772803d6eb5c7f7ee73ebbb8b2e0..9648d25f0aed25d8d8dda6424a9d5c9e2a0480e5 100644 (file)
 #include <string.h>
 
 #include <glib/gprintf.h>
+#include <glib-unix.h>
 
 #include "hostnamed-gen.h"
 
 GPtrArray *hostnamed_freeable;
 Hostname1 *hostnamed_interf;
 
-/* --- begin method/property/signal code --- */
+/* --- begin method/property/dbus signal code --- */
 
 static gboolean
 on_handle_set_hostname(Hostname1 *hn1_passed_interf,
@@ -148,7 +149,7 @@ our_get_os_pretty_name() {
     return "TODO";
 }
 
-/* --- end method/property/signal code, begin bus/name handlers --- */
+/* --- end method/property/dbus signal code, begin bus/name handlers --- */
 
 static void hostnamed_on_bus_acquired(GDBusConnection *conn,
                             const gchar *name,
@@ -195,7 +196,7 @@ static void hostnamed_on_name_acquired(GDBusConnection *conn,
 
 }
 
-/* --- end bus/name handlers, begin misc functions --- */
+/* --- end bus/name handlers, begin misc unix functions --- */
 
 /* free()'s */
 void hostnamed_mem_clean() {