Avoid a compiler warning: const'ify and remove a cast.
commit0fc6edb71490b03c79dd03c903a4b72ce2a23d81
authorJim Meyering <jim@meyering.net>
Fri, 6 Oct 2006 14:37:48 +0000 (6 14:37 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Oct 2006 14:37:48 +0000 (6 14:37 +0000)
tree6777b999c57c0f2f210b3068b8d7e145ac0561fc
parentc620aeeb900f26c658fbb9cbcbf160bee9290610
Avoid a compiler warning: const'ify and remove a cast.
* 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.
lib/ChangeLog
lib/randread.c
lib/randread.h