aboutsummaryrefslogtreecommitdiff
path: root/malloc/tst-mtrace.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2014-01-02 09:38:18 +0100
committerOndřej Bílka <neleai@seznam.cz>2014-01-02 09:40:10 +0100
commit6c8dbf00f536d78b1937b5af6f57be47fd376344 (patch)
treead86d3e7433a907cac50ebbd9c39ca3402a87c6a /malloc/tst-mtrace.c
parent9a3c6a6ff602c88d7155139a7d7d0000b7b7e946 (diff)
downloadglibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.zip
glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.tar.gz
glibc-6c8dbf00f536d78b1937b5af6f57be47fd376344.tar.bz2
Reformat malloc to gnu style.
Diffstat (limited to 'malloc/tst-mtrace.c')
-rw-r--r--malloc/tst-mtrace.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/malloc/tst-mtrace.c b/malloc/tst-mtrace.c
index e750bc8..9b5151c 100644
--- a/malloc/tst-mtrace.c
+++ b/malloc/tst-mtrace.c
@@ -55,20 +55,20 @@ main (void)
ssize_t n = getline (&line, &linelen, fp);
if (n < 0)
- break;
+ break;
if (n == 0)
- continue;
+ continue;
copy = strdup (line);
if (copy == NULL)
- abort ();
+ abort ();
p = (char **) tsearch (copy, &root,
- (int (*) (const void *, const void *)) strcmp);
+ (int (*)(const void *, const void *))strcmp);
if (*p != copy)
- /* This line wasn't added. */
- free (copy);
+ /* This line wasn't added. */
+ free (copy);
}
fclose (fp);