From 01f4f9a4e8c7c4d10589ecd6c53c450328b21753 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 23 Mar 2010 14:15:53 -0300 Subject: [PATCH] tests: faac: Fix build Fixes build of faac due to functions not being static nor having being declared in headers. (No previous prototype error) Probably due to added -Wmissing-prototypes --- tests/check/elements/faac.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/check/elements/faac.c b/tests/check/elements/faac.c index 79184969f5..4d419c5310 100644 --- a/tests/check/elements/faac.c +++ b/tests/check/elements/faac.c @@ -53,7 +53,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS (AUDIO_CAPS_STRING)); -GstElement * +static GstElement * setup_faac (gboolean adts) { GstElement *faac; @@ -70,7 +70,7 @@ setup_faac (gboolean adts) return faac; } -void +static void cleanup_faac (GstElement * faac) { GST_DEBUG ("cleanup_faac"); @@ -83,7 +83,7 @@ cleanup_faac (GstElement * faac) gst_check_teardown_element (faac); } -void +static void do_test (gboolean adts) { GstElement *faac; @@ -207,7 +207,7 @@ GST_START_TEST (test_raw) GST_END_TEST; -Suite * +static Suite * faac_suite (void) { Suite *s = suite_create ("faac");