From: Hallvard Furuseth Date: Mon, 1 Dec 2014 07:59:29 +0000 (+0100) Subject: Fix comments X-Git-Tag: accepted/tizen/5.0/unified/20181102.030725~284 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4376a19c5c8a740dfb5bb4c2fb17ca303e597aaa;p=platform%2Fupstream%2Flmdb.git Fix comments --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 8c54836..69421c2 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -935,7 +935,7 @@ typedef struct MDB_meta { /** Stamp identifying this as an LMDB file. It must be set * to #MDB_MAGIC. */ uint32_t mm_magic; - /** Version number of this lock file. Must be set to #MDB_DATA_VERSION. */ + /** Version number of this file. Must be set to #MDB_DATA_VERSION. */ uint32_t mm_version; void *mm_address; /**< address for fixed mapping */ size_t mm_mapsize; /**< size of mmap region */ @@ -4097,7 +4097,7 @@ mdb_env_share_locks(MDB_env *env, int *excl) return rc; } -/** Try to get exlusive lock, otherwise shared. +/** Try to get exclusive lock, otherwise shared. * Maintain *excl = -1: no/unknown lock, 0: shared, 1: exclusive. */ static int ESECT @@ -4238,7 +4238,6 @@ mdb_hash_enc(MDB_val *val, char *encbuf) * @param[in] env The LMDB environment. * @param[in] lpath The pathname of the file used for the lock region. * @param[in] mode The Unix permissions for the file, if we create it. - * @param[out] excl Resulting file lock type: -1 none, 0 shared, 1 exclusive * @param[in,out] excl In -1, out lock type: -1 none, 0 shared, 1 exclusive * @return 0 on success, non-zero on failure. */