diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-08-24 20:08:07 +0200 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-08-25 18:21:49 +0530 |
commit | 55fdb0162cdb8ff3874bf6a2057df681397e9995 (patch) | |
tree | 922e3009e1f0bf730fdc1e169a429474fe9b499c | |
parent | 168254f3bf2a6db08176b5f451a1fc1d886d0f57 (diff) |
Remove extra ; s where they are not allowed in strict C99
-rw-r--r-- | src/modules/dbus/iface-core.c | 2 | ||||
-rw-r--r-- | src/modules/dbus/iface-stream.c | 2 | ||||
-rw-r--r-- | src/modules/echo-cancel/adrian-aec.h | 10 | ||||
-rw-r--r-- | src/pulse/gccmacro.h | 2 | ||||
-rw-r--r-- | src/pulsecore/dbus-util.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/dbus/iface-core.c b/src/modules/dbus/iface-core.c index 042ca3b16..f2e34685f 100644 --- a/src/modules/dbus/iface-core.c +++ b/src/modules/dbus/iface-core.c @@ -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; diff --git a/src/modules/dbus/iface-stream.c b/src/modules/dbus/iface-stream.c index d9f123742..ecd0ff316 100644 --- a/src/modules/dbus/iface-stream.c +++ b/src/modules/dbus/iface-stream.c @@ -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; diff --git a/src/modules/echo-cancel/adrian-aec.h b/src/modules/echo-cancel/adrian-aec.h index d024b3c59..e733f83b8 100644 --- a/src/modules/echo-cancel/adrian-aec.h +++ b/src/modules/echo-cancel/adrian-aec.h @@ -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 diff --git a/src/pulse/gccmacro.h b/src/pulse/gccmacro.h index fe16967e1..1e818ff47 100644 --- a/src/pulse/gccmacro.h +++ b/src/pulse/gccmacro.h @@ -120,7 +120,7 @@ #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 diff --git a/src/pulsecore/dbus-util.c b/src/pulsecore/dbus-util.c index 09ab071bb..b79b752f6 100644 --- a/src/pulsecore/dbus-util.c +++ b/src/pulsecore/dbus-util.c @@ -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; |