summaryrefslogtreecommitdiff
path: root/bus/desktop-file.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2009-04-21 12:52:22 -0400
committerColin Walters <walters@verbum.org>2009-04-21 13:10:10 -0400
commit3c89788fa483ebda858ab66797e2834af94b798f (patch)
treedc3d2966b04560366edc10e6245442a1bd7f1ca7 /bus/desktop-file.c
parent83d7da43c40b913838917ff79d799dba69812b69 (diff)
downloaddbus-3c89788fa483ebda858ab66797e2834af94b798f.tar.gz
Bug 19502 - Sparse warning cleanups
This patch makes various things that should be static static, corrects some "return FALSE" where it should be NULL, etc. Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'bus/desktop-file.c')
-rw-r--r--bus/desktop-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/desktop-file.c b/bus/desktop-file.c
index 2fe26a11..2ba77292 100644
--- a/bus/desktop-file.c
+++ b/bus/desktop-file.c
@@ -66,7 +66,7 @@ typedef struct
#define VALID_KEY_CHAR 1
#define VALID_LOCALE_CHAR 2
-unsigned char valid[256] = {
+static unsigned char valid[256] = {
0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 ,
0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 ,
0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x3 , 0x2 , 0x0 ,