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

@@ -71,9 +71,7 @@ static int _am_write();
*/
int
iswrite(isfd, record)
int isfd;
char *record;
iswrite(int isfd, char *record)
{
int _am_write();
register Fab *fab;
@@ -123,12 +121,8 @@ iswrite(isfd, record)
}
Static int _am_write(fab, record, reclen, curpos, recnum)
register Fab *fab;
char *record;
int reclen;
Bytearray *curpos;
Recno *recnum;
Static int _am_write(register Fab *fab, char *record, int reclen,
Bytearray *curpos, Recno *recnum)
{
return (_amwrite(&fab->isfhandle, record, reclen,
curpos, recnum, &fab->errcode));