summaryrefslogtreecommitdiff
path: root/lib/randread.c
AgeCommit message (Collapse)Author
2006-11-23* randread.c (__attribute__): Don't define if __attribute__ is already defined.Paul Eggert
Otherwise, the code won't conform to C99, since the macro arg is spelled differently by some include file, and the compilation fails with pedantic GCC.
2006-10-06Avoid a compiler warning: const'ify and remove a cast.Jim Meyering
* randread.c (struct randread_source) [handler]: Make parameter "const". [handler_arg]: Add "const" attribute. (randread_error): Make parameter "const". (simple_new, randread_set_handler, randread_set_handler_arg): Likewise. (randread_new): Remove now-unnecessary cast. * randread.h: Adjust prototypes.
2006-08-26Include <config.h> unconditionally, since we now assume config.h exists.Paul Eggert
2006-08-08New file, introduced for shuf, sort -R, and/or shred.Paul Eggert