diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-01-09 13:09:49 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-01-09 15:29:37 -0500 |
commit | 3f1b8d8bddbd35a801332e243f16b57c1eab815c (patch) | |
tree | ce7aff2d3b8f6c2fdeceda341c9f7847552d0fe9 /service | |
parent | 4ae43741594776407c9ca093950b47be19fdef95 (diff) | |
download | dconf-3f1b8d8bddbd35a801332e243f16b57c1eab815c.tar.gz |
service: fix some harmless warnings
Diffstat (limited to 'service')
-rw-r--r-- | service/dconf-blame.c | 1 | ||||
-rw-r--r-- | service/dconf-gvdb-utils.c | 1 | ||||
-rw-r--r-- | service/dconf-service.c | 1 | ||||
-rw-r--r-- | service/dconf-writer.c | 3 |
4 files changed, 5 insertions, 1 deletions
diff --git a/service/dconf-blame.c b/service/dconf-blame.c index 920ef08..d979d3a 100644 --- a/service/dconf-blame.c +++ b/service/dconf-blame.c @@ -24,6 +24,7 @@ #include "dconf-generated.h" #include <string.h> +#include <stdlib.h> #include <fcntl.h> typedef DConfDBusServiceInfoSkeletonClass DConfBlameClass; diff --git a/service/dconf-gvdb-utils.c b/service/dconf-gvdb-utils.c index a9b7ab4..0fc3478 100644 --- a/service/dconf-gvdb-utils.c +++ b/service/dconf-gvdb-utils.c @@ -22,6 +22,7 @@ #include "dconf-gvdb-utils.h" +#include "../common/dconf-paths.h" #include "../gvdb/gvdb-builder.h" #include "../gvdb/gvdb-reader.h" diff --git a/service/dconf-service.c b/service/dconf-service.c index e2fdb2b..87eb4ca 100644 --- a/service/dconf-service.c +++ b/service/dconf-service.c @@ -25,6 +25,7 @@ #include "dconf-writer.h" #include "dconf-blame.h" +#include <glib-unix.h> #include <string.h> #include <fcntl.h> diff --git a/service/dconf-writer.c b/service/dconf-writer.c index fb3589a..26f5ecc 100644 --- a/service/dconf-writer.c +++ b/service/dconf-writer.c @@ -25,6 +25,7 @@ #include "../shm/dconf-shm.h" #include "dconf-gvdb-utils.h" #include "dconf-generated.h" +#include "dconf-blame.h" #include <stdlib.h> #include <unistd.h> @@ -71,7 +72,7 @@ dconf_writer_real_list (GHashTable *set) if (!dir) return; - while (name = g_dir_read_name (dir)) + while ((name = g_dir_read_name (dir))) g_hash_table_add (set, g_strdup (name)); g_dir_close (dir); |