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:
committed by
Jon Trulson
parent
0bbd4ff9aa
commit
a1cbcd24db
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user