Commit graph

4 commits

Author SHA1 Message Date
Gregory Burd
9ab52d89be Clean up and type fixes.
After discussions with Keith Bostic I've learned that always specifying the
full type (u_int32_t rather than int) as a general rule is not always a good
idea.  Now, as I review code I'm reverting some of those changes.  The new
rule of thumb is to use explict typing only in places that require it.
2007-10-21 01:33:16 +01:00
Gregory Burd
2529f39db1 Update call to srand48 to match prototype. 2007-10-21 01:31:56 +01:00
Gregory Burd
f1037cdd9a fixed portability to mac os/x 10.4.9
There was no need to maintain random number generation state within the DBSQL
structure, that is removed and now static within the two functions requiring
random number generation.  The placement of the function hash table in the
memory allocated for DBSQL was wrong, that is now fixed.
2007-03-24 22:59:14 +01:00
Gregory Burd
a04d39bc52 Initial import. 2007-03-10 20:04:07 +01:00