Imported Upstream version 1.2.0
[psensor-pkg-debian.git] / tests / test_psensor_type_to_unit_str.c
index 3ce27f8..6be91d5 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;
@@ -75,7 +75,7 @@ int main(int argc, char **argv)
 
        failures = test();
 
-       if (failures) 
+       if (failures)
                exit(EXIT_FAILURE);
        else
                exit(EXIT_SUCCESS);