projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor, clarify what "misc functions" are in comments
[systembsd.git]
/
src
/
interfaces
/
hostnamed
/
hostnamed.c
diff --git
a/src/interfaces/hostnamed/hostnamed.c
b/src/interfaces/hostnamed/hostnamed.c
index 33ea79ead417772803d6eb5c7f7ee73ebbb8b2e0..9648d25f0aed25d8d8dda6424a9d5c9e2a0480e5 100644
(file)
--- a/
src/interfaces/hostnamed/hostnamed.c
+++ b/
src/interfaces/hostnamed/hostnamed.c
@@
-21,13
+21,14
@@
#include <string.h>
#include <glib/gprintf.h>
#include <string.h>
#include <glib/gprintf.h>
+#include <glib-unix.h>
#include "hostnamed-gen.h"
GPtrArray *hostnamed_freeable;
Hostname1 *hostnamed_interf;
#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,
static gboolean
on_handle_set_hostname(Hostname1 *hn1_passed_interf,
@@
-148,7
+149,7
@@
our_get_os_pretty_name() {
return "TODO";
}
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,
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() {
/* free()'s */
void hostnamed_mem_clean() {