@prakashsurya in some places I changed specific pointers to `void*` because 
those functions get passed places that expect a function pointer with a `void*` 
arg.  For example, `txg_sync_thread`, gets passed to `do_thread_create`, which 
takes a `void (*proc)(void *)`.  In other places, I had to change pointer types 
because we store function pointers in a table, and the compiler complained if 
they weren't all the same type.  For example, `zfs_replay_vector` stores 
pointers of type `zil_replay_func_t`, but right now those functions don't all 
have the same signatures.  So I made them into `void*` to be generic.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/354#issuecomment-319114038
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T95949071eb220b14-M2d879a52d0d9988f8405f9ac
Powered by Topicbox: https://topicbox.com

Reply via email to