projects
/
psensor-pkg-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'upstream/1.2.0'
[psensor-pkg-debian.git]
/
tests
/
test_url_normalize.c
diff --git
a/tests/test_url_normalize.c
b/tests/test_url_normalize.c
index
ef48203
..
9736c66
100644
(file)
--- a/
tests/test_url_normalize.c
+++ b/
tests/test_url_normalize.c
@@
-24,7
+24,7
@@
#include "../src/lib/url.h"
#include "../src/lib/url.h"
-int test_url_normalize(const char *url, const char *ref_url)
+
static
int test_url_normalize(const char *url, const char *ref_url)
{
int ret;
char *tmp = url_normalize(url);
{
int ret;
char *tmp = url_normalize(url);
@@
-46,7
+46,7
@@
int test_url_normalize(const char *url, const char *ref_url)
return ret;
}
return ret;
}
-
int tests_url_normalize(
)
+
static int tests_url_normalize(void
)
{
int failures;
{
int failures;
@@
-69,7
+69,7
@@
int main(int argc, char **argv)
failures += tests_url_normalize();
failures += tests_url_normalize();
- if (failures)
+ if (failures)
exit(EXIT_FAILURE);
else
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
else
exit(EXIT_SUCCESS);