diff options
-rw-r--r-- | tests/alpha_symmetric_transform.c | 3 | ||||
-rw-r--r-- | tests/babl_class_name.c | 3 | ||||
-rw-r--r-- | tests/cairo_cmyk_hack.c | 3 | ||||
-rw-r--r-- | tests/chromaticities.c | 3 | ||||
-rw-r--r-- | tests/cmyk.c | 3 | ||||
-rw-r--r-- | tests/concurrency-stress-test.c | 3 | ||||
-rw-r--r-- | tests/conversions.c | 3 | ||||
-rw-r--r-- | tests/extract.c | 3 | ||||
-rw-r--r-- | tests/float-to-8bit.c | 3 | ||||
-rw-r--r-- | tests/floatclamp.c | 3 | ||||
-rw-r--r-- | tests/format_with_space.c | 3 | ||||
-rw-r--r-- | tests/grayscale_to_rgb.c | 3 | ||||
-rw-r--r-- | tests/hsl.c | 3 | ||||
-rw-r--r-- | tests/hsva.c | 3 | ||||
-rw-r--r-- | tests/n_components.c | 3 | ||||
-rw-r--r-- | tests/n_components_cast.c | 3 | ||||
-rw-r--r-- | tests/nop.c | 3 | ||||
-rw-r--r-- | tests/palette-concurrency-stress-test.c | 3 | ||||
-rw-r--r-- | tests/palette.c | 3 | ||||
-rw-r--r-- | tests/rgb_to_bgr.c | 3 | ||||
-rw-r--r-- | tests/rgb_to_ycbcr.c | 3 | ||||
-rw-r--r-- | tests/sanity.c | 3 | ||||
-rw-r--r-- | tests/srgb_to_lab_u8.c | 3 | ||||
-rw-r--r-- | tests/transparent.c | 3 | ||||
-rw-r--r-- | tests/xyz_to_lab.c | 3 | ||||
-rw-r--r-- | tools/babl-lut-verify.c | 2 | ||||
-rw-r--r-- | tools/introspect.c | 3 | ||||
-rw-r--r-- | tools/trc-validator.c | 3 |
28 files changed, 28 insertions, 55 deletions
diff --git a/tests/alpha_symmetric_transform.c b/tests/alpha_symmetric_transform.c index a42709a..aff23ce 100644 --- a/tests/alpha_symmetric_transform.c +++ b/tests/alpha_symmetric_transform.c @@ -100,8 +100,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/babl_class_name.c b/tests/babl_class_name.c index c0724f0..caec910 100644 --- a/tests/babl_class_name.c +++ b/tests/babl_class_name.c @@ -63,8 +63,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/cairo_cmyk_hack.c b/tests/cairo_cmyk_hack.c index 1f308fe..f68cd9a 100644 --- a/tests/cairo_cmyk_hack.c +++ b/tests/cairo_cmyk_hack.c @@ -69,8 +69,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/chromaticities.c b/tests/chromaticities.c index a57cead..963650c 100644 --- a/tests/chromaticities.c +++ b/tests/chromaticities.c @@ -66,8 +66,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/cmyk.c b/tests/cmyk.c index 3b11e44..cc29963 100644 --- a/tests/cmyk.c +++ b/tests/cmyk.c @@ -23,8 +23,7 @@ int -main (int argc, - char **argv) +main (void) { int OK = 1; diff --git a/tests/concurrency-stress-test.c b/tests/concurrency-stress-test.c index a02a519..bf0ffff 100644 --- a/tests/concurrency-stress-test.c +++ b/tests/concurrency-stress-test.c @@ -49,8 +49,7 @@ babl_fish_path_stress_test_thread_func (void *not_used) } int -main (int argc, - char **argv) +main (void) { pthread_t threads[N_THREADS]; int i; diff --git a/tests/conversions.c b/tests/conversions.c index 3a68445..d699b21 100644 --- a/tests/conversions.c +++ b/tests/conversions.c @@ -55,8 +55,7 @@ }; int -main (int argc, - char **argv) +main (void) { putenv ("BABL_DEBUG_CONVERSIONS" "=" "1"); putenv ("BABL_DEBUG_MISSING" "=" "1"); diff --git a/tests/extract.c b/tests/extract.c index ffd9f5c..06f143e 100644 --- a/tests/extract.c +++ b/tests/extract.c @@ -24,8 +24,7 @@ #include "common.inc" int -main (int argc, - char **argv) +main (void) { int OK = 1; babl_init (); diff --git a/tests/float-to-8bit.c b/tests/float-to-8bit.c index 1a3cafc..01d5997 100644 --- a/tests/float-to-8bit.c +++ b/tests/float-to-8bit.c @@ -26,8 +26,7 @@ int -main (int argc, - char **argv) +main (void) { int OK = 1; diff --git a/tests/floatclamp.c b/tests/floatclamp.c index 7960e13..7878e2e 100644 --- a/tests/floatclamp.c +++ b/tests/floatclamp.c @@ -26,8 +26,7 @@ int -main (int argc, - char **argv) +main (void) { int OK = 1; babl_init (); diff --git a/tests/format_with_space.c b/tests/format_with_space.c index 34f5332..c26384c 100644 --- a/tests/format_with_space.c +++ b/tests/format_with_space.c @@ -96,8 +96,7 @@ test3 (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test2 ()) diff --git a/tests/grayscale_to_rgb.c b/tests/grayscale_to_rgb.c index c3ec7c7..cd4063e 100644 --- a/tests/grayscale_to_rgb.c +++ b/tests/grayscale_to_rgb.c @@ -72,8 +72,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/hsl.c b/tests/hsl.c index aaa1855..54659cf 100644 --- a/tests/hsl.c +++ b/tests/hsl.c @@ -23,8 +23,7 @@ int -main (int argc, - char **argv) +main (void) { int OK = 1; diff --git a/tests/hsva.c b/tests/hsva.c index 66b93b8..c2a224b 100644 --- a/tests/hsva.c +++ b/tests/hsva.c @@ -32,8 +32,7 @@ int -main (int argc, - char **argv) +main (void) { int OK = 1; diff --git a/tests/n_components.c b/tests/n_components.c index afe5d25..9cb8935 100644 --- a/tests/n_components.c +++ b/tests/n_components.c @@ -105,8 +105,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/n_components_cast.c b/tests/n_components_cast.c index 86c6437..f654aa7 100644 --- a/tests/n_components_cast.c +++ b/tests/n_components_cast.c @@ -24,8 +24,7 @@ #include "common.inc" int -main (int argc, - char **argv) +main (void) { int OK = 1; babl_init (); diff --git a/tests/nop.c b/tests/nop.c index 0ea6fe0..1d8bbd2 100644 --- a/tests/nop.c +++ b/tests/nop.c @@ -20,8 +20,7 @@ #include "babl.h" int -main (int argc, - char **argv) +main (void) { babl_init (); babl_exit (); diff --git a/tests/palette-concurrency-stress-test.c b/tests/palette-concurrency-stress-test.c index a42b15d..9dee768 100644 --- a/tests/palette-concurrency-stress-test.c +++ b/tests/palette-concurrency-stress-test.c @@ -52,8 +52,7 @@ thread_proc (void *data) } int -main (int argc, - char **argv) +main (void) { const Babl *pal; const Babl *pal_format; diff --git a/tests/palette.c b/tests/palette.c index 92651d0..3fd64c4 100644 --- a/tests/palette.c +++ b/tests/palette.c @@ -24,8 +24,7 @@ #include "common.inc" int -main (int argc, - char **argv) +main (void) { int OK = 1; babl_init (); diff --git a/tests/rgb_to_bgr.c b/tests/rgb_to_bgr.c index 4e63222..3759673 100644 --- a/tests/rgb_to_bgr.c +++ b/tests/rgb_to_bgr.c @@ -79,8 +79,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/rgb_to_ycbcr.c b/tests/rgb_to_ycbcr.c index c02f743..6022211 100644 --- a/tests/rgb_to_ycbcr.c +++ b/tests/rgb_to_ycbcr.c @@ -86,8 +86,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/sanity.c b/tests/sanity.c index 28158ee..b84c299 100644 --- a/tests/sanity.c +++ b/tests/sanity.c @@ -20,8 +20,7 @@ #include "babl-internal.h" int -main (int argc, - char **argv) +main (void) { babl_init (); if (!babl_sanity ()) diff --git a/tests/srgb_to_lab_u8.c b/tests/srgb_to_lab_u8.c index b99538f..f8b04fc 100644 --- a/tests/srgb_to_lab_u8.c +++ b/tests/srgb_to_lab_u8.c @@ -66,8 +66,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tests/transparent.c b/tests/transparent.c index 7cbc6ea..dd66366 100644 --- a/tests/transparent.c +++ b/tests/transparent.c @@ -45,8 +45,7 @@ clear_fish_db (void) } int -main (int argc, - char **argv) +main (void) { int OK = 1; int i; diff --git a/tests/xyz_to_lab.c b/tests/xyz_to_lab.c index dd86281..c8e0b81 100644 --- a/tests/xyz_to_lab.c +++ b/tests/xyz_to_lab.c @@ -64,8 +64,7 @@ test (void) } int -main (int argc, - char **argv) +main (void) { babl_init (); if (test ()) diff --git a/tools/babl-lut-verify.c b/tools/babl-lut-verify.c index 2c611e4..c9f9616 100644 --- a/tools/babl-lut-verify.c +++ b/tools/babl-lut-verify.c @@ -56,7 +56,7 @@ test_generic (const Babl *source, const Babl *dest) return error; } -int main (int argc, char **argv) +int main (void) { double error = 0; setenv ("BABL_INHIBIT_CACHE", "1", 1); diff --git a/tools/introspect.c b/tools/introspect.c index 5cd667f..26a32d8 100644 --- a/tools/introspect.c +++ b/tools/introspect.c @@ -20,8 +20,7 @@ #include "babl-internal.h" int -main (int argc, - char **argv) +main (void) { babl_init (); babl_introspect (NULL); diff --git a/tools/trc-validator.c b/tools/trc-validator.c index 7bf1eaa..2e03381 100644 --- a/tools/trc-validator.c +++ b/tools/trc-validator.c @@ -185,8 +185,7 @@ to_linear_ref (float x) } int -main (int argc, - char **argv) +main (void) { int i; float max_diff = 0.0; |