]> code.delx.au - pulseaudio/commitdiff
Remove extra ; s where they are not allowed in strict C99
authorMaarten Bosmans <mkbosmans@gmail.com>
Wed, 24 Aug 2011 18:08:07 +0000 (20:08 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 25 Aug 2011 12:51:49 +0000 (18:21 +0530)
src/modules/dbus/iface-core.c
src/modules/dbus/iface-stream.c
src/modules/echo-cancel/adrian-aec.h
src/pulse/gccmacro.h
src/pulsecore/dbus-util.c

index 042ca3b16c3d632783c5341d1eba861c5d6b8af8..f2e34685f5c67b3dfa7ff45aedb8ab8e8c79a04d 100644 (file)
@@ -480,7 +480,7 @@ static void handle_set_default_channels(DBusConnection *conn, DBusMessage *msg,
     c->core->default_sample_spec.channels = n_channels;
 
     pa_dbus_send_empty_reply(conn, msg);
-};
+}
 
 static void handle_get_default_sample_format(DBusConnection *conn, DBusMessage *msg, void *userdata) {
     pa_dbusiface_core *c = userdata;
index d9f123742a1d4761cdeada60e1155a7e08ea3ad2..ecd0ff316815e3f11b52c0fc1b191a09a915c357 100644 (file)
@@ -444,7 +444,7 @@ static void handle_set_mute(DBusConnection *conn, DBusMessage *msg, DBusMessageI
     pa_sink_input_set_mute(s->sink_input, mute, TRUE);
 
     pa_dbus_send_empty_reply(conn, msg);
-};
+}
 
 static void handle_get_buffer_latency(DBusConnection *conn, DBusMessage *msg, void *userdata) {
     pa_dbusiface_stream *s = userdata;
index d024b3c5953cd50b49050ef9e5cc2d0a1ea017ad..e733f83b8cbfd3c062ec29fba4ae6ba3a30a4d4b 100644 (file)
@@ -123,7 +123,7 @@ static  REAL IIR_HP_highpass(IIR_HP *i, REAL in) {
     /* Highpass = Signal - Lowpass. Lowpass = Exponential Smoothing */
     i->x += a0 * (in - i->x);
     return in - i->x;
-  };
+  }
 
 typedef struct FIR_HP_300Hz FIR_HP_300Hz;
 
@@ -362,21 +362,21 @@ static  REAL AEC_nlms_pw(AEC *a, REAL d, REAL x_, float stepsize);
 
 PA_GCC_UNUSED static  float AEC_getambient(AEC *a) {
     return a->dfast;
-  };
+  }
 static  void AEC_setambient(AEC *a, float Min_xf) {
     a->dotp_xf_xf -= a->delta;  // subtract old delta
     a->delta = (NLMS_LEN-1) * Min_xf * Min_xf;
     a->dotp_xf_xf += a->delta;  // add new delta
-  };
+  }
 PA_GCC_UNUSED static  void AEC_setgain(AEC *a, float gain_) {
     a->gain = gain_;
-  };
+  }
 #if 0
   void AEC_openwdisplay(AEC *a);
 #endif
 PA_GCC_UNUSED static  void AEC_setaes(AEC *a, float aes_y2_) {
     a->aes_y2 = aes_y2_;
-  };
+  }
 
 #define _AEC_H
 #endif
index fe16967e10f695aa76ef77b4a125639ea321f8be..1e818ff475b9329cbd7c471d5af8abfaea3d2e29 100644 (file)
 #ifndef PA_GCC_WEAKREF
 #if defined(__GNUC__) && defined(__ELF__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4))
 /** Macro for usage of GCC's weakref attribute */
-#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));
+#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)))
 #endif
 #endif
 
index 09ab071bb586643e73b37938ef58db978d9467d9..b79b752f65627c16b2b11dd978cae42f1532b4da 100644 (file)
@@ -610,7 +610,7 @@ void pa_dbus_append_basic_array(DBusMessageIter *iter, int item_type, const void
         pa_assert_se(dbus_message_iter_append_basic(&array_iter, item_type, &((uint8_t*) array)[i * item_size]));
 
     pa_assert_se(dbus_message_iter_close_container(iter, &array_iter));
-};
+}
 
 void pa_dbus_append_basic_variant(DBusMessageIter *iter, int type, void *data) {
     DBusMessageIter variant_iter;