ansi decl
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 23 Sep 2014 22:33:22 +0000 (00:33 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 23 Sep 2014 22:33:22 +0000 (00:33 +0200)
tests/test_psensor_type_to_unit_str.c

index 3ce27f8..35ab310 100644 (file)
@@ -42,7 +42,7 @@ test_fct(unsigned int type, int use_celsius, const char *ref)
        return 1;
 }
 
-static int test() {
+static int test(void) {
        int failures;
 
        failures = 0;