Completed function declarations and/or added prototypes and/or #includes
to get the prototypes.
Changed some int's to boolean_t's. boolean_t's are ints so they are
hard to distinguish from ints.
Converted function headers to old-style. ddb is written in K&R1 C
except where we broke it.