summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-10 12:40:51 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-10 12:40:51 +0000
commit30206fef60f119ab2b805244bd15c318f2b9e046 (patch)
treec740a292a86dc650f13cd6bf122b0d183ca54e1c /lib
parent4ca0c8b50194bc2d6d74a8eb4304d2cb93dde751 (diff)
downloadFreeBSD-src-30206fef60f119ab2b805244bd15c318f2b9e046.zip
FreeBSD-src-30206fef60f119ab2b805244bd15c318f2b9e046.tar.gz
Fix parameter types of close and get members in DB.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/db/man/dbopen.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3
index ef1a182..f35194b 100644
--- a/lib/libc/db/man/dbopen.3
+++ b/lib/libc/db/man/dbopen.3
@@ -154,10 +154,10 @@ least the following fields:
.Bd -literal
typedef struct {
DBTYPE type;
- int (*close)(const DB *db);
+ int (*close)(DB *db);
int (*del)(const DB *db, const DBT *key, u_int flags);
int (*fd)(const DB *db);
- int (*get)(const DB *db, DBT *key, DBT *data, u_int flags);
+ int (*get)(const DB *db, const DBT *key, DBT *data, u_int flags);
int (*put)(const DB *db, DBT *key, const DBT *data,
u_int flags);
int (*sync)(const DB *db, u_int flags);
OpenPOWER on IntegriCloud