libtt: Change to ANSI function definitions

This commit is contained in:
Peter Howkins
2018-06-28 04:06:47 +01:00
parent 6b09b19351
commit 020d592338
62 changed files with 275 additions and 706 deletions

View File

@@ -50,12 +50,11 @@ static int _ncurtab; /* Number of entries */
* _iskeycmp_set()
*
* Set key decriptor and number of parts for subsequent key comparison.s
* nparts, Use only so many parts
*/
void
_iskeycmp_set (pkeydesc2, nparts)
Keydesc2 *pkeydesc2;
int nparts; /* Use only so many parts */
_iskeycmp_set (Keydesc2 *pkeydesc2, int nparts)
{
_ncurtab = nparts;
_curtab = pkeydesc2->k2_part;
@@ -69,8 +68,7 @@ _iskeycmp_set (pkeydesc2, nparts)
*/
int
_iskeycmp(lkey, rkey)
char *lkey, *rkey;
_iskeycmp(char *lkey, char *rkey)
{
int i, ret;
register struct keypart2 *p;