* [COMMITTED] [PATCH] Reindent string/test-memmove.c
@ 2021-04-20 0:48 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2021-04-20 0:48 UTC (permalink / raw)
To: libc-alpha
---
string/test-memmove.c | 30 +++++++++++++++---------------
1 file 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;
}
--
2.30.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-20 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 0:48 [COMMITTED] [PATCH] Reindent string/test-memmove.c H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).