summaryrefslogtreecommitdiff
path: root/src/session-child.c
diff options
context:
space:
mode:
authorGuido Berhoerster <gber@opensuse.org>2013-04-16 09:48:51 +0200
committerGuido Berhoerster <gber@opensuse.org>2013-04-16 09:48:51 +0200
commit6ff92eb884d2b8c628f3c452cf66e259fe6d2fff (patch)
treecf92d6d8a0ecb77ed7f43183765780cbd486d893 /src/session-child.c
parenta52cd4dafce35278cb256370b90791b66f8f0e7f (diff)
downloadlightdm-6ff92eb884d2b8c628f3c452cf66e259fe6d2fff.tar.gz
Fix missing prototypes and pre-ANSI C function declarations
Diffstat (limited to 'src/session-child.c')
-rw-r--r--src/session-child.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session-child.c b/src/session-child.c
index 23e7ea9e..e48ec43a 100644
--- a/src/session-child.c
+++ b/src/session-child.c
@@ -19,6 +19,7 @@
#include "console-kit.h"
#include "privileges.h"
#include "xauthority.h"
+#include "configuration.h"
/* Child process being run */
static GPid child_pid = 0;
@@ -89,7 +90,7 @@ read_string_full (void* (*alloc_fn)(size_t n))
}
static gchar *
-read_string ()
+read_string (void)
{
return read_string_full (g_malloc);
}