diff options
Diffstat (limited to 'libexec/ypxfr/yp_dbwrite.c')
-rw-r--r-- | libexec/ypxfr/yp_dbwrite.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libexec/ypxfr/yp_dbwrite.c b/libexec/ypxfr/yp_dbwrite.c index 4715d7f..05031c1 100644 --- a/libexec/ypxfr/yp_dbwrite.c +++ b/libexec/ypxfr/yp_dbwrite.c @@ -53,10 +53,8 @@ static const char rcsid[] = /* * Open a DB database read/write */ -DB *yp_open_db_rw(domain, map, flags) - const char *domain; - const char *map; - const int flags; +DB * +yp_open_db_rw(const char *domain, const char *map, const int flags) { DB *dbp; char buf[1025]; @@ -91,11 +89,8 @@ DB *yp_open_db_rw(domain, map, flags) return (dbp); } -int yp_put_record(dbp,key,data,allow_overwrite) - DB *dbp; - DBT *key; - DBT *data; - int allow_overwrite; +int +yp_put_record(DB *dbp, DBT *key, DBT *data, int allow_overwrite) { int rval; |