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
/
timedated
/
timedated.c
diff --git
a/src/interfaces/timedated/timedated.c
b/src/interfaces/timedated/timedated.c
index c373fde90bf72ba6c00a16635b6c82388ff10dde..83f3c5fa22f10182b823c6f163ca41626f60cd35 100644
(file)
--- a/
src/interfaces/timedated/timedated.c
+++ b/
src/interfaces/timedated/timedated.c
@@
-21,13
+21,14
@@
#include <string.h>
#include <glib/gprintf.h>
#include <string.h>
#include <glib/gprintf.h>
+#include <glib-unix.h>
#include "timedated-gen.h"
GPtrArray *timedated_freeable;
Timedate1 *timedated_interf;
#include "timedated-gen.h"
GPtrArray *timedated_freeable;
Timedate1 *timedated_interf;
-/* --- begin method/property/signal code --- */
+/* --- begin method/property/
dbus
signal code --- */
/*static gboolean
on_handle_set_hostname(Timedate1 *hn1_passed_interf,
/*static gboolean
on_handle_set_hostname(Timedate1 *hn1_passed_interf,
@@
-56,7
+57,7
@@
our_get_hostname() {
return strncpy(ret, hostname_buf, hostname_divider);
}*/
return strncpy(ret, hostname_buf, hostname_divider);
}*/
-/* --- end method/property/signal code, begin bus/name handlers --- */
+/* --- end method/property/
dbus
signal code, begin bus/name handlers --- */
static void timedated_on_bus_acquired(GDBusConnection *conn,
const gchar *name,
static void timedated_on_bus_acquired(GDBusConnection *conn,
const gchar *name,
@@
-90,7
+91,7
@@
static void timedated_on_name_acquired(GDBusConnection *conn,
}
}
-/* --- end bus/name handlers, begin misc functions --- */
+/* --- end bus/name handlers, begin misc
unix
functions --- */
/* free()'s */
void timedated_mem_clean() {
/* free()'s */
void timedated_mem_clean() {