fix more unused variable warnings
authorRich Felker <dalias@aerifal.cx>
Fri, 2 Nov 2012 03:46:39 +0000 (23:46 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 2 Nov 2012 03:46:39 +0000 (23:46 -0400)
commita617a8e2adaaac41dd1b662b6646e8392465801c
treef5adaf552d944be658e4f967c3f55cc2987fe12f
parent3a5aa8e49ce9a98725ceb311bb64f6168fc72d3e
fix more unused variable warnings

some of these were coming from stdio functions locking files without
unlocking them. I believe it's useful for this to throw a warning, so
I added a new macro that's self-documenting that the file will never
be unlocked to avoid the warning in the few places where it's wrong.
src/internal/stdio_impl.h
src/ldso/dynlink.c
src/stdio/__stdio_exit.c
src/stdio/fclose.c