bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] [PATCH] add more includes to fix warnings about missing prototy


From: Bernhard R. Link
Subject: [bug-gv] [PATCH] add more includes to fix warnings about missing prototypes
Date: Thu, 3 Jun 2010 17:56:15 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

---
 src/Ghostview.c |    1 +
 src/Scrollbar.c |    1 +
 src/actions.c   |    1 +
 src/gv_signal.c |    6 ++++--
 src/ps.c        |    1 +
 5 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/Ghostview.c b/src/Ghostview.c
index 5bc52fb..cb5fc56 100644
--- a/src/Ghostview.c
+++ b/src/Ghostview.c
@@ -63,6 +63,7 @@
 #include "main_resources.h"
 #include "main_globals.h"
 #include "misc.h"
+#include "actions.h"
 
 #include "resource.h"
 
diff --git a/src/Scrollbar.c b/src/Scrollbar.c
index cf22db7..27201f1 100644
--- a/src/Scrollbar.c
+++ b/src/Scrollbar.c
@@ -48,6 +48,7 @@
 #include INC_XAW(XawInit.h)
 #include INC_XMU(Drawing.h)
 #include "ScrollbarP.h"
+#include "actions.h"
 
 
 /* Private definitions. */
diff --git a/src/actions.c b/src/actions.c
index e2e667d..38e58fa 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -36,6 +36,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <math.h>
 
 #include <inttypes.h>
diff --git a/src/gv_signal.c b/src/gv_signal.c
index 5181ec2..7acb727 100644
--- a/src/gv_signal.c
+++ b/src/gv_signal.c
@@ -39,9 +39,10 @@
 #include "message.h"
 
 #include <stdio.h>
-#include <gv_signal.h>
+#include <signal.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <stdlib.h>
 
 #include "paths.h"
 #include INC_X11(Intrinsic.h)
@@ -62,7 +63,8 @@
 #include "d_memdebug.h"
 #include "main_resources.h"
 #include "main_globals.h"
-#include "signal.h"
+#include "gv_signal.h"
+#include "actions.h"
 
 #ifdef SIGNALRETURNSINT
 #   define SIGVAL int
diff --git a/src/ps.c b/src/ps.c
index d637064..34f6e30 100644
--- a/src/ps.c
+++ b/src/ps.c
@@ -97,6 +97,7 @@
 #include "misc.h"
 #include "ps.h"
 #include "note.h"
+#include "actions.h"
 #include "d_memdebug.h"
 extern Media *gv_medias;
 extern String gv_pdf_password;
-- 
1.5.6.5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]