This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Use (void) in no-arguments function definitions
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 7 Jun 2013 16:12:09 -0700 (PDT)
- Subject: Re: Use (void) in no-arguments function definitions
- References: <Pine dot LNX dot 4 dot 64 dot 1306072249350 dot 9729 at digraph dot polyomino dot org dot uk>
> Tested x86_64; the only differences in disassembly of glibc's .so
> files are, as for the "register" patch, changed address offsets.
I wonder why even those changed, since no non-code allocated sections (like
.dynsym) should have changed either, just debug info (if that). I'm
curious enough about that to hope you bother investigating, but not enough
to investigate it myself, and not enough to give me pause about approving
the change as is. I think it's fine.
Thanks,
Roland