From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/libmach/elfcorelinux386.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libmach/elfcorelinux386.c') diff --git a/src/libmach/elfcorelinux386.c b/src/libmach/elfcorelinux386.c index 4c4aabc4..6cd0a5f9 100644 --- a/src/libmach/elfcorelinux386.c +++ b/src/libmach/elfcorelinux386.c @@ -36,7 +36,7 @@ struct Status }; enum { - StatusSize = sizeof(Status), + StatusSize = sizeof(Status) }; struct Psinfo @@ -57,7 +57,7 @@ struct Psinfo }; enum { - PsinfoSize = sizeof(Psinfo), + PsinfoSize = sizeof(Psinfo) }; int @@ -92,7 +92,7 @@ corecmdlinux386(Elf *elf, ElfNote *note, char **pp) return -1; } p = (Psinfo*)note->desc; - // print("elf name %s\nelf args %s\n", p->fname, p->psargs); + /* print("elf name %s\nelf args %s\n", p->fname, p->psargs); */ t = malloc(80+1); if(t == nil) return -1; -- cgit v1.2.3