diff options
author | ed <ed@FreeBSD.org> | 2016-05-31 18:32:57 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2016-05-31 18:32:57 +0000 |
commit | 7c40d543e864474b396f78f0a3fd916704e2f015 (patch) | |
tree | 82ba49d3544b9ad1861941e2d47ab93a63790efc /include | |
parent | a2e427a148f6688e4ea3b76fcf75f1b64d47e50f (diff) | |
download | FreeBSD-src-7c40d543e864474b396f78f0a3fd916704e2f015.zip FreeBSD-src-7c40d543e864474b396f78f0a3fd916704e2f015.tar.gz |
Fix prototype of dbm_open().
The last argument of dbm_open() should be a mode_t according to POSIX;
not an int.
Reviewed by: pfg, kib
Differential Revision: https://reviews.freebsd.org/D6650
Diffstat (limited to 'include')
-rw-r--r-- | include/ndbm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ndbm.h b/include/ndbm.h index 1257c92..db83803 100644 --- a/include/ndbm.h +++ b/include/ndbm.h @@ -70,7 +70,7 @@ datum dbm_firstkey(DBM *); long dbm_forder(DBM *, datum); #endif datum dbm_nextkey(DBM *); -DBM *dbm_open(const char *, int, int); +DBM *dbm_open(const char *, int, mode_t); int dbm_store(DBM *, datum, datum, int); #if __BSD_VISIBLE int dbm_dirfno(DBM *); |