]> sourceware.org Git - glibc.git/commitdiff
tst-mallinfo2.c: Remove useless trailing semicolon for macro
authorYang Xu <xuyang2018.jy@cn.fujitsu.com>
Mon, 1 Feb 2021 18:19:43 +0000 (19:19 +0100)
committerArjun Shankar <arjun@redhat.com>
Mon, 1 Feb 2021 18:28:00 +0000 (19:28 +0100)
Macros should not use a trailing semicolon, so remove it.

Reviewed-by: DJ Delorie <dj@redhat.com>
malloc/tst-mallinfo2.c

index 48e65cb7d7269cc0739d1ec5c35ddd895d4288f0..59a15cf7a8f7ce8e401dbc0259feb6aa6c2ea1cc 100644 (file)
@@ -30,7 +30,7 @@ static void
 print_mi (const char *msg, struct mallinfo2 *m)
 {
   printf("\n%s...\n", msg);
-#define P(f) printf("%s: %zu\n", #f, m->f);
+#define P(f) printf("%s: %zu\n", #f, m->f)
   P(arena);
   P(ordblks);
   P(smblks);
This page took 0.041713 seconds and 5 git commands to generate.