projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added docinfo file
[psensor.git]
/
tests
/
test_psensor_type_to_unit_str.c
diff --git
a/tests/test_psensor_type_to_unit_str.c
b/tests/test_psensor_type_to_unit_str.c
index
3ce27f8
..
6be91d5
100644
(file)
--- a/
tests/test_psensor_type_to_unit_str.c
+++ b/
tests/test_psensor_type_to_unit_str.c
@@
-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);