Low-hanging fruit: Fix most warnings in lib/DtSearch.

Most of these are related to missing includes and prototypes as well as
parens/braces.  A few are also potential 64bit issues.
This commit is contained in:
Pascal Stumpf
2012-08-12 18:51:53 +02:00
committed by Jon Trulson
parent 0bbd4ff9aa
commit a1cbcd24db
89 changed files with 181 additions and 33 deletions

View File

@@ -43,6 +43,7 @@
/* Decode file and slot number from a database address
*/
int
d_decode_dba(dba, file, slot)
DB_ADDR dba; /* database address */
int FAR *file; /* returned file number */
@@ -57,6 +58,7 @@ long FAR *slot; /* returned slot number */
/* Encode database address from file and slot number
*/
int
d_encode_dba(file, slot, dba)
int file; /* returned file number */
long slot; /* returned slot number */