[gnome-games] libgames-support: Remove suprious math.h includes
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] libgames-support: Remove suprious math.h includes
- Date: Sun, 24 Jan 2010 18:19:55 +0000 (UTC)
commit ce570a8d3d5b493ff197b7d41607b41b3cd14e5a
Author: Christian Persch <chpe gnome org>
Date: Sun Jan 24 19:19:39 2010 +0100
libgames-support: Remove suprious math.h includes
libgames-support/Makefile.am | 2 +-
libgames-support/games-card-theme-pysol.c | 2 +-
libgames-support/games-preimage.c | 1 -
libgames-support/games-scores.c | 1 -
4 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 3015427..1ff5352 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -329,7 +329,7 @@ pkglib_LTLIBRARIES += libgames-support-gi.la
libgames_support_gi_la_SOURCES = $(libgames_support_la_SOURCES) $(nodist_libgames_support_la_SOURCES)
libgames_support_gi_la_CPPFLAGS = $(libgames_support_la_CPPFLAGS) -DLIBGAMES_SUPPORT_GI
libgames_support_gi_la_CFLAGS = $(libgames_support_la_CFLAGS)
-libgames_support_gi_la_LIBADD = $(libgames_support_la_LIBADD) -lm
+libgames_support_gi_la_LIBADD = $(libgames_support_la_LIBADD)
BUILT_GIRSOURCES = GnomeGamesSupport-1.0.gir
diff --git a/libgames-support/games-card-theme-pysol.c b/libgames-support/games-card-theme-pysol.c
index b59a21a..6cdc124 100644
--- a/libgames-support/games-card-theme-pysol.c
+++ b/libgames-support/games-card-theme-pysol.c
@@ -137,7 +137,7 @@ pysol_config_txt_parse_line_0 (PySolConfigTxtData *data,
if (n_fields < 2)
goto out;
if (strcmp (g_strstrip (fields[0]), "PySol solitaire cardset") != 0 &&
- strcmp (g_strstrip (fields[0]), "PySolFC solitaire cardset") != 0)
+ strcmp (g_strstrip (fields[0]), "PySolFC solitaire cardset") != 0)
goto out;
if (!parse_int (g_strstrip (fields[1]), &data->version))
goto out;
diff --git a/libgames-support/games-preimage.c b/libgames-support/games-preimage.c
index 0c950d9..35d7606 100644
--- a/libgames-support/games-preimage.c
+++ b/libgames-support/games-preimage.c
@@ -22,7 +22,6 @@
#include <config.h>
-#include <math.h>
#include <string.h>
#include <glib.h>
diff --git a/libgames-support/games-scores.c b/libgames-support/games-scores.c
index a7a18ec..8972a09 100644
--- a/libgames-support/games-scores.c
+++ b/libgames-support/games-scores.c
@@ -25,7 +25,6 @@
#include <config.h>
-#include <math.h>
#include <fcntl.h>
#include <unistd.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]