385d81380c
casts) used in the lhash code are about as horrible and evil as they can be. For starters, the callback prototypes contain empty parameter lists. Yuck. This first change defines clearer prototypes - including "typedef"'d function pointer types to use as "hash" and "compare" callbacks, as well as the callbacks passed to the lh_doall and lh_doall_arg iteration functions. Now at least more explicit (and clear) casting is required in all of the dependant code - and that should be included in this commit. The next step will be to hunt down and obliterate some of the function pointer casting being used when it's not necessary - a particularly evil variant exists in the implementation of lh_doall. |
||
---|---|---|
.. | ||
.cvsignore | ||
cnf_save.c | ||
conf.h | ||
conf_api.c | ||
conf_api.h | ||
conf_def.c | ||
conf_def.h | ||
conf_err.c | ||
conf_lib.c | ||
keysets.pl | ||
Makefile.ssl | ||
ssleay.cnf | ||
test.c |