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
This commit is contained in:
Thiago Santos 2010-03-23 14:15:53 -03:00
parent 025aa946d3
commit 01f4f9a4e8

View file

@ -53,7 +53,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
GST_STATIC_CAPS (AUDIO_CAPS_STRING)); GST_STATIC_CAPS (AUDIO_CAPS_STRING));
GstElement * static GstElement *
setup_faac (gboolean adts) setup_faac (gboolean adts)
{ {
GstElement *faac; GstElement *faac;
@ -70,7 +70,7 @@ setup_faac (gboolean adts)
return faac; return faac;
} }
void static void
cleanup_faac (GstElement * faac) cleanup_faac (GstElement * faac)
{ {
GST_DEBUG ("cleanup_faac"); GST_DEBUG ("cleanup_faac");
@ -83,7 +83,7 @@ cleanup_faac (GstElement * faac)
gst_check_teardown_element (faac); gst_check_teardown_element (faac);
} }
void static void
do_test (gboolean adts) do_test (gboolean adts)
{ {
GstElement *faac; GstElement *faac;
@ -207,7 +207,7 @@ GST_START_TEST (test_raw)
GST_END_TEST; GST_END_TEST;
Suite * static Suite *
faac_suite (void) faac_suite (void)
{ {
Suite *s = suite_create ("faac"); Suite *s = suite_create ("faac");