gnome-games r8214 - trunk/gnibbles
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8214 - trunk/gnibbles
- Date: Tue, 28 Oct 2008 14:52:38 +0000 (UTC)
Author: chpe
Date: Tue Oct 28 14:52:38 2008
New Revision: 8214
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8214&view=rev
Log:
Fix missing prototypes warnings.
Modified:
trunk/gnibbles/gnibbles.c
trunk/gnibbles/main.c
trunk/gnibbles/scoreboard.c
trunk/gnibbles/worm.c
Modified: trunk/gnibbles/gnibbles.c
==============================================================================
--- trunk/gnibbles/gnibbles.c (original)
+++ trunk/gnibbles/gnibbles.c Tue Oct 28 14:52:38 2008
@@ -21,6 +21,8 @@
#include <config.h>
+#include <stdlib.h>
+
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
Modified: trunk/gnibbles/main.c
==============================================================================
--- trunk/gnibbles/main.c (original)
+++ trunk/gnibbles/main.c Tue Oct 28 14:52:38 2008
@@ -23,6 +23,7 @@
#include <string.h>
#include <time.h>
+#include <stdlib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
@@ -1063,7 +1064,7 @@
#if GLIB_CHECK_VERSION (2, 12, 0)
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
-#endif g_option_context_add_group (context, gtk_get_option_group (TRUE));
+#endif
g_option_context_add_group (context, gtk_get_option_group (TRUE));
games_sound_add_option_group (context);
Modified: trunk/gnibbles/scoreboard.c
==============================================================================
--- trunk/gnibbles/scoreboard.c (original)
+++ trunk/gnibbles/scoreboard.c Tue Oct 28 14:52:38 2008
@@ -22,6 +22,7 @@
#include <config.h>
#include <string.h>
+#include <stdlib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
Modified: trunk/gnibbles/worm.c
==============================================================================
--- trunk/gnibbles/worm.c (original)
+++ trunk/gnibbles/worm.c Tue Oct 28 14:52:38 2008
@@ -23,6 +23,9 @@
#include <config.h>
#endif
+#include <stdlib.h>
+#include <ctype.h>
+
#include <games-sound.h>
#include "worm.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]