Patch from vtorri

- remove unavailable __UNUSED__
  - warning-- on Win64



SVN revision: 77968
This commit is contained in:
Nicholas Hughart 2012-10-14 18:22:15 +00:00
parent 07ef6c8572
commit c4d848a27a
10 changed files with 10 additions and 10 deletions

View File

@ -62,7 +62,7 @@ test_dlfcn_test_dlsym(void)
}
static int
test_dlfcn_tests_run(suite *s __UNUSED__)
test_dlfcn_tests_run(suite *s)
{
int res;

View File

@ -156,7 +156,7 @@ test_env_test_unsetenv(void)
}
static int
test_env_tests_run(suite *s __UNUSED__)
test_env_tests_run(suite *s)
{
int res;

View File

@ -34,7 +34,7 @@ test_time_test_gettimeofday(void)
}
static int
test_time_tests_run(suite *s __UNUSED__)
test_time_tests_run(suite *s)
{
int res;

View File

@ -140,7 +140,7 @@ test_link_test_readlink(void)
}
static int
test_link_tests_run(suite *s __UNUSED__)
test_link_tests_run(suite *s)
{
int res;

View File

@ -76,7 +76,7 @@ test_memcpy_tests_run(suite *s, size_t align1, size_t align2, size_t len)
for (i = 0, j = 1; i < len; i++, j += 23)
s1[i] = j;
printf ("length: %6d, align %2d/%2d:", (int)len, align1, align2);
printf ("length: %6d, align %2Iu/%2Iu:", (int)len, align1, align2);
test_memcpy_test_run(s, memcpy, s2, s1, len);
#ifdef _WIN32_WCE

View File

@ -36,7 +36,7 @@ test_mkstemp_test(void)
}
static int
test_mkstemp_run(suite *s __UNUSED__)
test_mkstemp_run(suite *s)
{
int res;

View File

@ -110,7 +110,7 @@ test_pipe_test(void)
}
static int
test_pipe_run(suite *s __UNUSED__)
test_pipe_run(suite *s)
{
int res;

View File

@ -30,7 +30,7 @@ test_print_test(void)
}
static int
test_print_run(suite *s __UNUSED__)
test_print_run(suite *s)
{
int res;

View File

@ -28,7 +28,7 @@ test_realpath_test(void)
}
static int
test_realpath_run(suite *s __UNUSED__)
test_realpath_run(suite *s)
{
int res;

View File

@ -89,7 +89,7 @@ static int test_path_absolute_test_6(void)
}
static int
test_path_absolute_run(suite *s __UNUSED__)
test_path_absolute_run(suite *s)
{
int res;