[atomix] Fix some build warnings
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atomix] Fix some build warnings
- Date: Tue, 9 Mar 2010 22:47:07 +0000 (UTC)
commit c38efec9654bb871944f3e4b87777adb240d7bc1
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Tue Mar 9 23:46:58 2010 +0100
Fix some build warnings
src/goal-view.c | 2 +-
src/goal-view.h | 2 +-
src/main.c | 2 ++
src/playfield.c | 2 ++
src/tile.c | 2 ++
5 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/goal-view.c b/src/goal-view.c
index 8002aa2..4c25d51 100644
--- a/src/goal-view.c
+++ b/src/goal-view.c
@@ -110,7 +110,7 @@ static void render_view (Goal *goal)
g_object_unref (pf);
}
-void goal_view_clear ()
+void goal_view_clear (void)
{
if (item_group)
gtk_object_destroy (GTK_OBJECT (item_group));
diff --git a/src/goal-view.h b/src/goal-view.h
index fc98b8a..80a6345 100644
--- a/src/goal-view.h
+++ b/src/goal-view.h
@@ -29,6 +29,6 @@ void goal_view_init (Theme * theme, GnomeCanvas * canvas);
void goal_view_render (Goal * goal);
-void goal_view_clear ();
+void goal_view_clear (void);
#endif /* _ATOMIX_GOAL_VIEW_H_ */
diff --git a/src/main.c b/src/main.c
index 0a21824..41548f8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -19,6 +19,8 @@
#include "config.h"
+#include <libgnome/gnome-score.h>
+#include <libgnomeui/gnome-scores.h>
#include <libgnomeui/gnome-ui-init.h>
#include <sys/types.h>
#include <dirent.h>
diff --git a/src/playfield.c b/src/playfield.c
index a8d4fd2..013a406 100644
--- a/src/playfield.c
+++ b/src/playfield.c
@@ -18,6 +18,8 @@
*/
#include "playfield.h"
+#include <string.h>
+
Tile *get_tile (PlayField *pf, gint row, gint col);
void set_tile (PlayField *pf, gint row, gint col, Tile *tile);
static void read_tile (PlayField *pf, guint row, guint col, xmlNodePtr node);
diff --git a/src/tile.c b/src/tile.c
index 10d4870..aabeb93 100644
--- a/src/tile.c
+++ b/src/tile.c
@@ -19,6 +19,8 @@
#include "tile.h"
+#include <string.h>
+
#define GPOINTER_TO_QUARK(p) ((GQuark) (p))
#define GQUARK_TO_POINTER(p) ((gpointer) (p))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]