Skip to content
  1. Dec 06, 2000
  2. Dec 05, 2000
  3. Dec 04, 2000
  4. Dec 03, 2000
  5. Dec 02, 2000
  6. Dec 01, 2000
    • Geoff Thorpe's avatar
      First step in tidying up the LHASH code. The callback prototypes (and · 385d8138
      Geoff Thorpe authored
      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.
      385d8138
    • Richard Levitte's avatar