From 55cd61de48c8ffd639b4ecead1260e343f96360e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Loeuillet?= Date: Fri, 28 May 2004 05:01:05 +0000 Subject: [PATCH] - removing some trailing commas in enums to please C90 only compilers (AIX, Forte, ...) ('should' fix #143290) should... Original commit message from CVS: - removing some trailing commas in enums to please C90 only compilers (AIX, Forte, ...) ('should' fix #143290) should/could we compile gst with -ansi -pedantic to catch those in the build-bots ? --- gst/elements/gstaggregator.c | 4 ++-- gst/elements/gstfakesink.c | 2 +- gst/elements/gstfakesrc.c | 2 +- gst/elements/gstmd5sink.c | 4 ++-- gst/elements/gstshaper.c | 2 +- gst/elements/gsttee.c | 4 ++-- gst/elements/gsttypefindelement.c | 2 +- gst/schedulers/gstbasicscheduler.c | 4 ++-- gst/schedulers/gstoptimalscheduler.c | 12 ++++++------ plugins/elements/gstaggregator.c | 4 ++-- plugins/elements/gstfakesink.c | 2 +- plugins/elements/gstfakesrc.c | 2 +- plugins/elements/gstmd5sink.c | 4 ++-- plugins/elements/gstshaper.c | 2 +- plugins/elements/gsttee.c | 4 ++-- plugins/elements/gsttypefindelement.c | 2 +- 16 files changed, 28 insertions(+), 28 deletions(-) diff --git a/gst/elements/gstaggregator.c b/gst/elements/gstaggregator.c index f1d46c7d74..48343e683a 100644 --- a/gst/elements/gstaggregator.c +++ b/gst/elements/gstaggregator.c @@ -48,8 +48,8 @@ enum ARG_NUM_PADS, ARG_SILENT, ARG_SCHED, - ARG_LAST_MESSAGE, - /* FILL ME */ + ARG_LAST_MESSAGE + /* FILL ME */ }; GstStaticPadTemplate aggregator_src_template = diff --git a/gst/elements/gstfakesink.c b/gst/elements/gstfakesink.c index a1c3eaeacc..2a11619ea2 100644 --- a/gst/elements/gstfakesink.c +++ b/gst/elements/gstfakesink.c @@ -54,7 +54,7 @@ enum ARG_DUMP, ARG_SYNC, ARG_SIGNAL_HANDOFFS, - ARG_LAST_MESSAGE, + ARG_LAST_MESSAGE }; GstStaticPadTemplate fakesink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink%d", diff --git a/gst/elements/gstfakesrc.c b/gst/elements/gstfakesrc.c index 80067c30ae..fcb0036676 100644 --- a/gst/elements/gstfakesrc.c +++ b/gst/elements/gstfakesrc.c @@ -71,7 +71,7 @@ enum ARG_SILENT, ARG_DUMP, ARG_PARENTSIZE, - ARG_LAST_MESSAGE, + ARG_LAST_MESSAGE }; GstStaticPadTemplate fakesrc_src_template = GST_STATIC_PAD_TEMPLATE ("src%d", diff --git a/gst/elements/gstmd5sink.c b/gst/elements/gstmd5sink.c index 5a3e40b80b..63c939e10a 100644 --- a/gst/elements/gstmd5sink.c +++ b/gst/elements/gstmd5sink.c @@ -50,8 +50,8 @@ enum enum { ARG_0, - ARG_MD5, - /* FILL ME */ + ARG_MD5 + /* FILL ME */ }; GstStaticPadTemplate md5_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/gst/elements/gstshaper.c b/gst/elements/gstshaper.c index d63a7aa8bc..9b4f19bb6d 100644 --- a/gst/elements/gstshaper.c +++ b/gst/elements/gstshaper.c @@ -50,7 +50,7 @@ enum ARG_0, ARG_POLICY, ARG_SILENT, - ARG_LAST_MESSAGE, + ARG_LAST_MESSAGE }; typedef struct diff --git a/gst/elements/gsttee.c b/gst/elements/gsttee.c index 9dca03d10c..05194ff1d3 100644 --- a/gst/elements/gsttee.c +++ b/gst/elements/gsttee.c @@ -49,8 +49,8 @@ enum ARG_0, ARG_SILENT, ARG_NUM_PADS, - ARG_LAST_MESSAGE, - /* FILL ME */ + ARG_LAST_MESSAGE + /* FILL ME */ }; GstStaticPadTemplate tee_src_template = GST_STATIC_PAD_TEMPLATE ("src%d", diff --git a/gst/elements/gsttypefindelement.c b/gst/elements/gsttypefindelement.c index 05d491d768..2db5c75122 100644 --- a/gst/elements/gsttypefindelement.c +++ b/gst/elements/gsttypefindelement.c @@ -84,7 +84,7 @@ enum enum { MODE_NORMAL, /* act as identity */ - MODE_TYPEFIND, /* do typefinding */ + MODE_TYPEFIND /* do typefinding */ }; diff --git a/gst/schedulers/gstbasicscheduler.c b/gst/schedulers/gstbasicscheduler.c index fb3a75743e..d968a0dc9e 100644 --- a/gst/schedulers/gstbasicscheduler.c +++ b/gst/schedulers/gstbasicscheduler.c @@ -82,14 +82,14 @@ typedef enum GST_BASIC_SCHEDULER_STATE_NONE, GST_BASIC_SCHEDULER_STATE_STOPPED, GST_BASIC_SCHEDULER_STATE_ERROR, - GST_BASIC_SCHEDULER_STATE_RUNNING, + GST_BASIC_SCHEDULER_STATE_RUNNING } GstBasicSchedulerState; typedef enum { /* something important has changed inside the scheduler */ - GST_BASIC_SCHEDULER_CHANGE = GST_SCHEDULER_FLAG_LAST, + GST_BASIC_SCHEDULER_CHANGE = GST_SCHEDULER_FLAG_LAST } GstBasicSchedulerFlags; diff --git a/gst/schedulers/gstoptimalscheduler.c b/gst/schedulers/gstoptimalscheduler.c index 75c31fe847..641d234177 100644 --- a/gst/schedulers/gstoptimalscheduler.c +++ b/gst/schedulers/gstoptimalscheduler.c @@ -102,7 +102,7 @@ typedef enum { GST_OPT_SCHEDULER_CHAIN_DIRTY = (1 << 1), GST_OPT_SCHEDULER_CHAIN_DISABLED = (1 << 2), - GST_OPT_SCHEDULER_CHAIN_RUNNING = (1 << 3), + GST_OPT_SCHEDULER_CHAIN_RUNNING = (1 << 3) } GstOptSchedulerChainFlags; @@ -139,7 +139,7 @@ typedef enum GST_OPT_SCHEDULER_GROUP_DISABLED = (1 << 3), /* this group is disabled */ GST_OPT_SCHEDULER_GROUP_RUNNING = (1 << 4), /* this group is running */ GST_OPT_SCHEDULER_GROUP_SCHEDULABLE = (1 << 5), /* this group is schedulable */ - GST_OPT_SCHEDULER_GROUP_VISITED = (1 << 6), /* this group is visited when finding links */ + GST_OPT_SCHEDULER_GROUP_VISITED = (1 << 6) /* this group is visited when finding links */ } GstOptSchedulerGroupFlags; @@ -147,7 +147,7 @@ typedef enum { GST_OPT_SCHEDULER_GROUP_UNKNOWN = 3, GST_OPT_SCHEDULER_GROUP_GET = 1, - GST_OPT_SCHEDULER_GROUP_LOOP = 2, + GST_OPT_SCHEDULER_GROUP_LOOP = 2 } GstOptSchedulerGroupType; @@ -285,7 +285,7 @@ typedef struct _GstOptSchedulerCtx GstOptSchedulerCtx; typedef enum { - GST_OPT_SCHEDULER_CTX_DISABLED = (1 << 1), /* the element is disabled */ + GST_OPT_SCHEDULER_CTX_DISABLED = (1 << 1) /* the element is disabled */ } GstOptSchedulerCtxFlags; @@ -304,7 +304,7 @@ enum { ARG_0, ARG_ITERATIONS, - ARG_MAX_RECURSION, + ARG_MAX_RECURSION }; static void gst_opt_scheduler_class_init (GstOptSchedulerClass * klass); @@ -1701,7 +1701,7 @@ typedef enum GST_OPT_GET_TO_LOOP, GST_OPT_CHAIN_TO_CHAIN, GST_OPT_CHAIN_TO_LOOP, - GST_OPT_LOOP_TO_LOOP, + GST_OPT_LOOP_TO_LOOP } LinkType; diff --git a/plugins/elements/gstaggregator.c b/plugins/elements/gstaggregator.c index f1d46c7d74..48343e683a 100644 --- a/plugins/elements/gstaggregator.c +++ b/plugins/elements/gstaggregator.c @@ -48,8 +48,8 @@ enum ARG_NUM_PADS, ARG_SILENT, ARG_SCHED, - ARG_LAST_MESSAGE, - /* FILL ME */ + ARG_LAST_MESSAGE + /* FILL ME */ }; GstStaticPadTemplate aggregator_src_template = diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c index a1c3eaeacc..2a11619ea2 100644 --- a/plugins/elements/gstfakesink.c +++ b/plugins/elements/gstfakesink.c @@ -54,7 +54,7 @@ enum ARG_DUMP, ARG_SYNC, ARG_SIGNAL_HANDOFFS, - ARG_LAST_MESSAGE, + ARG_LAST_MESSAGE }; GstStaticPadTemplate fakesink_sink_template = GST_STATIC_PAD_TEMPLATE ("sink%d", diff --git a/plugins/elements/gstfakesrc.c b/plugins/elements/gstfakesrc.c index 80067c30ae..fcb0036676 100644 --- a/plugins/elements/gstfakesrc.c +++ b/plugins/elements/gstfakesrc.c @@ -71,7 +71,7 @@ enum ARG_SILENT, ARG_DUMP, ARG_PARENTSIZE, - ARG_LAST_MESSAGE, + ARG_LAST_MESSAGE }; GstStaticPadTemplate fakesrc_src_template = GST_STATIC_PAD_TEMPLATE ("src%d", diff --git a/plugins/elements/gstmd5sink.c b/plugins/elements/gstmd5sink.c index 5a3e40b80b..63c939e10a 100644 --- a/plugins/elements/gstmd5sink.c +++ b/plugins/elements/gstmd5sink.c @@ -50,8 +50,8 @@ enum enum { ARG_0, - ARG_MD5, - /* FILL ME */ + ARG_MD5 + /* FILL ME */ }; GstStaticPadTemplate md5_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", diff --git a/plugins/elements/gstshaper.c b/plugins/elements/gstshaper.c index d63a7aa8bc..9b4f19bb6d 100644 --- a/plugins/elements/gstshaper.c +++ b/plugins/elements/gstshaper.c @@ -50,7 +50,7 @@ enum ARG_0, ARG_POLICY, ARG_SILENT, - ARG_LAST_MESSAGE, + ARG_LAST_MESSAGE }; typedef struct diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index 9dca03d10c..05194ff1d3 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -49,8 +49,8 @@ enum ARG_0, ARG_SILENT, ARG_NUM_PADS, - ARG_LAST_MESSAGE, - /* FILL ME */ + ARG_LAST_MESSAGE + /* FILL ME */ }; GstStaticPadTemplate tee_src_template = GST_STATIC_PAD_TEMPLATE ("src%d", diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index 05d491d768..2db5c75122 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -84,7 +84,7 @@ enum enum { MODE_NORMAL, /* act as identity */ - MODE_TYPEFIND, /* do typefinding */ + MODE_TYPEFIND /* do typefinding */ };