From 0fc6edb71490b03c79dd03c903a4b72ce2a23d81 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 6 Oct 2006 14:37:48 +0000 Subject: 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index a74ee151d..ed110f84c 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,13 @@ +2006-10-06 Jim Meyering + + 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. + 2006-09-29 Paul Eggert * .cvsignore: Add openat-proc.c. -- cgit v1.2.3-70-g09d2