Fix warnings in lib/tlibio.c

There remain a few warnings when I build "lib/tlibio.c":
- _GNU_SOURCE is defined on the command line, then defined
 unconditionally in this file.  Fix by making the definition
 in the file conditional on whether it's already defined.
- The function random_bit() has a full, standard declaration in
 "include/random_range.h", so just include that file rather than
 doing an incomplete declaration in lio_random_methods().

Signed-off-by: Alex Elder <aelder@sgi.com>
1 file changed