changeset 1059:f305ebcc8136 trunk

[svn] - get rid of warnings.
author yaz
date Wed, 23 May 2007 22:40:57 -0700
parents 75f713176b2f
children 2649ba83333b
files ChangeLog src/rovascope/Makefile src/rovascope/actuators.h src/rovascope/cmaps.c src/rovascope/general.c src/rovascope/paranormal.c src/rovascope/paranormal.h src/rovascope/plugin.c src/rovascope/wave.c src/rovascope/xform.c
diffstat 10 files changed, 21 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed May 23 06:08:35 2007 -0700
+++ b/ChangeLog	Wed May 23 22:40:57 2007 -0700
@@ -1,3 +1,13 @@
+2007-05-23 13:08:35 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [2282]
+  - make build of cdaudio-ng configurable.
+  
+  trunk/configure.ac            |   20 +++++++++++++++++++-
+  trunk/mk/rules.mk.in          |    2 ++
+  trunk/src/cdaudio-ng/Makefile |    2 +-
+  3 files changed, 22 insertions(+), 2 deletions(-)
+
+
 2007-05-23 10:48:56 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2280]
   - add support for reading id3v2 TXXX replaygain tag. patch by Eugene Zagidullin.
--- a/src/rovascope/Makefile	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/Makefile	Wed May 23 22:40:57 2007 -0700
@@ -29,6 +29,6 @@
 
 LIBDEP = libcalc/libcalc.a
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../.. -Wall
 
 include ../../mk/objective.mk
--- a/src/rovascope/actuators.h	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/actuators.h	Wed May 23 22:40:57 2007 -0700
@@ -6,6 +6,7 @@
 
 #include <glib.h>
 #include <SDL.h>
+#include <string.h>
 
 /* Helper macros for actuator functions */
 #define PN_ACTUATOR_INIT_FUNC(f) ((void (*) (gpointer *data))f)
--- a/src/rovascope/cmaps.c	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/cmaps.c	Wed May 23 22:40:57 2007 -0700
@@ -134,7 +134,7 @@
 		  gpointer data)
 {
   PnDynamicColourmapData *d = (PnDynamicColourmapData *) data;
-  gint i, j;
+  gint i;
   gdouble *rf, *bf, *gf, *inf;
   gint rn, bn, gn;
 
--- a/src/rovascope/general.c	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/general.c	Wed May 23 22:40:57 2007 -0700
@@ -111,7 +111,6 @@
   int i,j;
   register guchar *srcptr = pn_image_data->surface[0];
   register guchar *destptr = pn_image_data->surface[1];
-  register int sum;
   int radius = opts[0].val.ival > 255 || opts[0].val.ival < 0 ? 6 : opts[0].val.ival;
 
   for (j=0; j<pn_image_data->height; j += radius)
--- a/src/rovascope/paranormal.c	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/paranormal.c	Wed May 23 22:40:57 2007 -0700
@@ -17,6 +17,7 @@
 
 #include "paranormal.h"
 #include "actuators.h"
+#include "containers.h"
 
 /* SDL stuffs */
 SDL_Surface *screen;
--- a/src/rovascope/paranormal.h	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/paranormal.h	Wed May 23 22:40:57 2007 -0700
@@ -2,6 +2,9 @@
 #define _PARANORMAL_H
 
 #include <glib.h>
+#include <math.h>
+#include <string.h>
+#include <stdlib.h>
 
 #include "actuators.h"
 
--- a/src/rovascope/plugin.c	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/plugin.c	Wed May 23 22:40:57 2007 -0700
@@ -15,12 +15,14 @@
 #include <math.h>
 #include <setjmp.h>
 #include <unistd.h>
+#include <sched.h>
 
 #include <glib.h>
 #include <audacious/i18n.h>
 
 #include <gtk/gtk.h>
 #include <audacious/plugin.h>
+#include <audacious/util.h>
 #include <SDL/SDL.h>
 #include <SDL/SDL_thread.h>
 
@@ -250,6 +252,7 @@
     }
 }
 
+#if 0
 static void
 about_close_clicked(GtkWidget *w, GtkWidget **window)
 {
@@ -262,6 +265,7 @@
 {
 	about_close_clicked(w,window);
 }
+#endif
 
 static void
 pn_xmms_about (void)
--- a/src/rovascope/wave.c	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/wave.c	Wed May 23 22:40:57 2007 -0700
@@ -2,8 +2,6 @@
 # include <config.h>
 #endif
 
-#include <math.h>
-
 #include "paranormal.h"
 #include "actuators.h"
 #include "pn_utils.h"
--- a/src/rovascope/xform.c	Wed May 23 06:08:35 2007 -0700
+++ b/src/rovascope/xform.c	Wed May 23 22:40:57 2007 -0700
@@ -524,7 +524,6 @@
 xform_trans_literal (struct xform_vector *vfield, gint x, gint y,
 	expression_t *expr, symbol_dict_t *dict)
 {
-  gdouble rf, df;
   gdouble *xf, *yf;
   gint xn, yn;
 
@@ -563,8 +562,6 @@
     {
       gint i, j;
       gdouble *rf, *df;
-      gdouble xf, yf;
-      gint xn, yn;
       expression_t *expr;
       symbol_dict_t *dict;
 
@@ -676,8 +673,6 @@
   PnDynMovementData *d = (PnDynMovementData *) odata;
   gint i, j;
   gdouble *rf, *df;
-  gdouble xf, yf;
-  gint xn, yn;
   void (*transform_func)(struct xform_vector *, gint, gint, expression_t *, symbol_dict_t *) = 
         opts[4].val.bval == TRUE ? xform_trans_polar : xform_trans_literal;
   gboolean make_table = FALSE;