#
de2d0d0b |
| 16-Nov-2014 |
tedu <tedu@openbsd.org> |
Defining the interface in terms of char * means most callers are required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instea
Defining the interface in terms of char * means most callers are required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instead of the address of the int. implicit void * casting is safer.
This updates the kernel hash interfaces to use void *. Similar changes are possible for userland. I think it's safe, but there may be some peculiar source compatbility issues there, so let's just do the kernel first. ok dlg millert
show more ...
|