AG_GST_SET_PLUGINDIR
dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings])
+AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wold-style-definition])
dnl define an ERROR_CXXFLAGS Makefile variable
-AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings])
+AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wold-style-definition])
dnl define correct level for debugging messages
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
/* track list */
GHashTable *
-gst_cmml_track_list_new ()
+gst_cmml_track_list_new (void)
{
return g_hash_table_new (g_str_hash, g_str_equal);
}
#define GST_CAT_DEFAULT gst_wavpack_parse_debug
static inline GstWavpackParseIndexEntry *
-gst_wavpack_parse_index_entry_new ()
+gst_wavpack_parse_index_entry_new (void)
{
return g_slice_new (GstWavpackParseIndexEntry);
}
static gint32 sintable[1024 + 256];
static void
-initSinTable ()
+initSinTable (void)
{
gint32 *tptr, *tsinptr;
double i;
}
static GstRtpH263PayPackage *
-gst_rtp_h263_pay_package_new_empty ()
+gst_rtp_h263_pay_package_new_empty (void)
{
return (GstRtpH263PayPackage *) g_malloc0 (sizeof (GstRtpH263PayPackage));
}
}
static gboolean
-socket_error_is_ignorable ()
+socket_error_is_ignorable (void)
{
#ifdef G_OS_WIN32
/* Windows doesn't seem to have an EAGAIN for sockets */
}
static int
-socket_last_error_code ()
+socket_last_error_code (void)
{
#ifdef G_OS_WIN32
return WSAGetLastError ();
}
static gchar *
-socket_last_error_message ()
+socket_last_error_message (void)
{
#ifdef G_OS_WIN32
int errorcode = WSAGetLastError ();
}
static void
-setup_cmmldec ()
+setup_cmmldec (void)
{
GST_DEBUG ("setup_cmmldec");
cmmldec = gst_check_setup_element ("cmmldec");
}
static void
-teardown_cmmldec ()
+teardown_cmmldec (void)
{
g_list_foreach (buffers, buffer_unref, NULL);
g_list_free (buffers);
}
static void
-check_headers ()
+check_headers (void)
{
GObject *head_tag;
GST_END_TEST;
static Suite *
-cmmldec_suite ()
+cmmldec_suite (void)
{
Suite *s = suite_create ("cmmldec");
}
static void
-setup_cmmlenc ()
+setup_cmmlenc (void)
{
guint64 granulerate_n, granulerate_d;
}
static void
-teardown_cmmlenc ()
+teardown_cmmlenc (void)
{
/* free encoded buffers */
g_list_foreach (buffers, buffer_unref, NULL);
}
static void
-check_headers ()
+check_headers (void)
{
/* push the cmml start tag */
flow = push_data ("preamble", PREAMBLE, strlen (PREAMBLE));
GST_END_TEST;
static Suite *
-cmmlenc_suite ()
+cmmlenc_suite (void)
{
Suite *s = suite_create ("cmmlenc");
TCase *tc_general = tcase_create ("general");
/* sets up deinterlace and shortcut pointers to its pads */
static void
-setup_deinterlace ()
+setup_deinterlace (void)
{
deinterlace = gst_element_factory_make ("deinterlace", NULL);
fail_unless (deinterlace != NULL);
};
static GstBuffer *
-create_test_buffer ()
+create_test_buffer (void)
{
GstBuffer *buf = gst_buffer_new_and_alloc (sizeof (test_input));
GstCaps *caps;
* Returns: pointer to the test suite.
*/
static Suite *
-rtp_payloading_suite ()
+rtp_payloading_suite (void)
{
Suite *s = suite_create ("rtp_data_test");
* Returns: pointer to the test suite.
*/
static Suite *
-udpsink_suite ()
+udpsink_suite (void)
{
Suite *s = suite_create ("udpsink_test");
static Suite *
-videobalance_suite ()
+videobalance_suite (void)
{
Suite *s = suite_create ("videobalance");
TCase *tc_chain = tcase_create ("general");
}
static Suite *
-videoflip_suite ()
+videoflip_suite (void)
{
Suite *s = suite_create ("videoflip");
TCase *tc_chain = tcase_create ("general");
}
static Suite *
-gamma_suite ()
+gamma_suite (void)
{
Suite *s = suite_create ("gamma");
TCase *tc_chain = tcase_create ("general");
);
static GstElement *
-setup_wavpackdec (dec)
+setup_wavpackdec (void)
{
GstElement *wavpackdec;
static GList *elements = NULL;
static void
-setup ()
+setup (void)
{
GList *features, *f;
GList *plugins, *p;
}
static void
-teardown ()
+teardown (void)
{
GList *e;
volatile int exit_read = 0;
static void
-print_options ()
+print_options (void)
{
printf ("\nf - to change the fequency\n");
printf ("i - to change the input\n");