From 67a1cfc72455a26fbc8bfcc3c211992b80c5d8c4 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 26 Apr 2012 18:51:29 +1200 Subject: [PATCH] fix C void function signatures ignorantly left blank --- README | 2 +- gtk-clutter-app.c | 2 +- load_images.c | 2 +- shift_test.c | 2 +- test.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index 4615d34..c30ad67 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Libgstsparrow ============= -Libgstsparrow is a Gstreamer plug-in that obliterates everything it sees, +Libgstsparrow is a Gstreamer plug-in that obliterates everything it sees, replacing it with images of sparrows. It is designed to be used with a camera and projector pointed at the diff --git a/gtk-clutter-app.c b/gtk-clutter-app.c index 9cb05fd..f510950 100644 --- a/gtk-clutter-app.c +++ b/gtk-clutter-app.c @@ -104,7 +104,7 @@ set_up_window(GMainLoop *loop, GtkWidget *window){ ClutterActor * -new_stage(){ +new_stage(void){ static const ClutterColor black = {0, 0, 0, 255}; ClutterActor *stage = clutter_stage_get_default(); clutter_stage_set_color(CLUTTER_STAGE(stage), &black); diff --git a/load_images.c b/load_images.c index 99d238c..3e2e68e 100644 --- a/load_images.c +++ b/load_images.c @@ -29,7 +29,7 @@ static const char *JPEG_BLOB_NAME = "/home/douglas/sparrow/content/jpeg.blob"; static const char *JPEG_INDEX_NAME = "/home/douglas/sparrow/content/jpeg.index"; INVISIBLE sparrow_shared_t * -sparrow_get_shared(){ +sparrow_get_shared(void){ static sparrow_shared_t shared; return &shared; } diff --git a/shift_test.c b/shift_test.c index ae7f3ff..3dfd78b 100644 --- a/shift_test.c +++ b/shift_test.c @@ -18,7 +18,7 @@ int64_to_binary_string(char *s, guint64 n){ } static void -test_shifts() +test_shifts(void) { static char s[65]; guint64 x = 1; diff --git a/test.c b/test.c index 7909308..e2d2a2c 100644 --- a/test.c +++ b/test.c @@ -6,7 +6,7 @@ static void -test_popcount64() +test_popcount64(void) { guint64 tests[] = {0xf0f0f0f0f0f0f0f0, 0x0001111116000000, 0x123456789abcdef0, 0x0fedcba987654321, @@ -19,7 +19,7 @@ test_popcount64() } static void -test_hamming_distance64() +test_hamming_distance64(void) { guint64 tests[] = {0xf0f0f0f0f0f0f0f0, 0xf0f0f0f0f0f0f0f0, 0xffffffffffffffff, 0xf0f0f0f0f0f0f0f0, 0xffffffffffffffff, 0xffffffffffffffff, -- 2.11.4.GIT