summaryrefslogtreecommitdiff
path: root/tests/icles/v4l2src-test.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-17 18:23:00 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-17 18:23:28 +0100
commit3342b1679e3f08976a76726ef05ac1dee08cbe3a (patch)
treeb645889694e6bec580ec15a872180b285f92e804 /tests/icles/v4l2src-test.c
parent7e363149f323f745b4147aa469208bdbb8465db6 (diff)
Add -Wmissing-declarations -Wmissing-prototypes warning flags
And fix all the warnings.
Diffstat (limited to 'tests/icles/v4l2src-test.c')
-rw-r--r--tests/icles/v4l2src-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/icles/v4l2src-test.c b/tests/icles/v4l2src-test.c
index af0ca8e4c..edbfd9388 100644
--- a/tests/icles/v4l2src-test.c
+++ b/tests/icles/v4l2src-test.c
@@ -32,7 +32,7 @@ GstElement *pipeline, *source, *sink;
GMainLoop *loop;
volatile int exit_read = 0;
-void
+static void
print_options ()
{
printf ("\nf - to change the fequency\n");
@@ -43,7 +43,7 @@ print_options ()
printf ("e - to exit\n");
}
-void
+static void
run_options (char opt)
{
int res;
@@ -289,7 +289,7 @@ done:
}
-gpointer
+static gpointer
read_user (gpointer data)
{