summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2004-09-17 08:57:21 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>2004-09-17 08:57:21 +0000
commitca975e839996dbe1a85825b7f3472b170505540c (patch)
treeb6243e621b4c2b1cb2027047dfcc730ec0b0da02 /src
parent963241dd15b3046e97e526b1547fdd3543b18b14 (diff)
Add missing header. Same ANSIfication. Closes bug #152851.
2004-09-17 Kjartan Maraas <kmaraas@gnome.org> * src/progress.c: Add missing header. * src/tree.c: Same * src/util.c: (transient_get_xterm), (transient_get_xterm_toplevel): ANSIfication. Closes bug #152851.
Diffstat (limited to 'src')
-rw-r--r--src/progress.c1
-rw-r--r--src/tree.c1
-rw-r--r--src/util.c4
3 files changed, 4 insertions, 2 deletions
diff --git a/src/progress.c b/src/progress.c
index ed727ca..734dd73 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
+#include <unistd.h>
#include <signal.h>
#include <glade/glade.h>
#include "zenity.h"
diff --git a/src/tree.c b/src/tree.c
index 436f632..49c1d78 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -25,6 +25,7 @@
#include <glade/glade.h>
#include <string.h>
+#include <stdlib.h>
#include "zenity.h"
#include "util.h"
diff --git a/src/util.c b/src/util.c
index b839d42..a09841e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -266,7 +266,7 @@ zenity_util_return_exit_code ( ZenityExitCode value )
#ifdef GDK_WINDOWING_X11
static Window
-transient_get_xterm ()
+transient_get_xterm (void)
{
const char *wid_str = g_getenv ("WINDOWID");
if (wid_str) {
@@ -303,7 +303,7 @@ transient_is_toplevel (Window wid)
*/
static Window
-transient_get_xterm_toplevel ()
+transient_get_xterm_toplevel (void)
{
Window xterm = transient_get_xterm ();
Display *dpy = GDK_DISPLAY ();