--- src/lib/libc/db/recno/rec_open.c 2005/09/19 09:20:37 1.4 +++ src/lib/libc/db/recno/rec_open.c 2005/11/12 23:01:55 1.5 @@ -51,10 +51,8 @@ #include "recno.h" DB * -__rec_open(fname, flags, mode, openinfo, dflags) - const char *fname; - int flags, mode, dflags; - const RECNOINFO *openinfo; +__rec_open(const char *fname, int flags, int mode, const RECNOINFO *openinfo, + int dflags) { BTREE *t; BTREEINFO btopeninfo; @@ -209,16 +207,15 @@ slow: if ((t->bt_rfp = fdopen(rfd, "r" einval: errno = EINVAL; err: sverrno = errno; if (dbp != NULL) - (void)__bt_close(dbp); + __bt_close(dbp); if (fname != NULL) - (void)_close(rfd); + _close(rfd); errno = sverrno; return (NULL); } int -__rec_fd(dbp) - const DB *dbp; +__rec_fd(const DB *dbp) { BTREE *t;