diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-04-19 17:46:05 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-04-19 17:46:05 -0700 |
commit | b1e5572837ce79795fa9d6347cdd2eb047e333f0 (patch) | |
tree | 54b249a2773e750b24827fc853ebf80f439d64bb /string | |
parent | 81f6dd2135ea761832965bc7518e2ddf949480af (diff) | |
download | glibc-b1e5572837ce79795fa9d6347cdd2eb047e333f0.tar.gz glibc-b1e5572837ce79795fa9d6347cdd2eb047e333f0.tar.xz glibc-b1e5572837ce79795fa9d6347cdd2eb047e333f0.zip |
Reindent string/test-memmove.c
Diffstat (limited to 'string')
-rw-r--r-- | string/test-memmove.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/string/test-memmove.c b/string/test-memmove.c index 2e665fa3a5..b271248b1d 100644 --- a/string/test-memmove.c +++ b/string/test-memmove.c @@ -286,25 +286,25 @@ do_test2 (size_t offset) src[i] = (uint32_t) i; - #ifdef TEST_BCOPY +#ifdef TEST_BCOPY CALL (impl, (char *) src, (char *) dst, bytes_move); - #else +#else CALL (impl, (char *) dst, (char *) src, bytes_move); - #endif +#endif for (i = 0; i < arr_size; i++) - { - if (dst[i] != (uint32_t) i) - { - error (0, 0, - "Wrong result in function %s dst \"%p\" src \"%p\" offset \"%zd\"", - impl->name, dst, large_buf, i); - ret = 1; - munmap ((void *) large_buf, size); - return; - } - } - } + { + if (dst[i] != (uint32_t) i) + { + error (0, 0, + "Wrong result in function %s dst \"%p\" src \"%p\" offset \"%zd\"", + impl->name, dst, large_buf, i); + ret = 1; + munmap ((void *) large_buf, size); + return; + } + } + } src = dst; dst = large_buf; } |