summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stream.c3
-rw-r--r--src/main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/stream.c b/lib/stream.c
index 168dc71..1988e7c 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -36,7 +36,8 @@ struct uvc_stream
* Video streaming
*/
-static void uvc_stream_source_process(void *d, struct video_source *src,
+static void uvc_stream_source_process(void *d,
+ struct video_source *src __attribute__((unused)),
struct video_buffer *buffer)
{
struct uvc_stream *stream = d;
diff --git a/src/main.c b/src/main.c
index f0f71ba..14197eb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,7 +47,7 @@ static void usage(const char *argv0)
/* Necessary for and only used by signal handler. */
static struct events *sigint_events;
-static void sigint_handler(int signal)
+static void sigint_handler(int signal __attribute__((unused)))
{
/* Stop the main loop when the user presses CTRL-C */
events_stop(sigint_events);