@@ -1315,7 +1315,7 @@ static int mdb_sec_inited;
1315
1315
#endif
1316
1316
1317
1317
/** Return the library version info. */
1318
- char *
1318
+ char * ESECT
1319
1319
mdb_version (int * major , int * minor , int * patch )
1320
1320
{
1321
1321
if (major ) * major = MDB_VERSION_MAJOR ;
@@ -1407,7 +1407,7 @@ mdb_strerror(int err)
1407
1407
# define mdb_assert0 (env , expr , expr_txt ) ((expr) ? (void)0 : \
1408
1408
mdb_assert_fail(env, expr_txt, mdb_func_, __FILE__, __LINE__))
1409
1409
1410
- static void
1410
+ static void ESECT
1411
1411
mdb_assert_fail (MDB_env * env , const char * expr_txt ,
1412
1412
const char * func , const char * file , int line )
1413
1413
{
@@ -4350,7 +4350,7 @@ mdb_hash_val(MDB_val *val, mdb_hash_t hval)
4350
4350
*/
4351
4351
static const char mdb_a85 []= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~" ;
4352
4352
4353
- static void
4353
+ static void ESECT
4354
4354
mdb_pack85 (unsigned long l , char * out )
4355
4355
{
4356
4356
int i ;
@@ -4361,7 +4361,7 @@ mdb_pack85(unsigned long l, char *out)
4361
4361
}
4362
4362
}
4363
4363
4364
- static void
4364
+ static void ESECT
4365
4365
mdb_hash_enc (MDB_val * val , char * encbuf )
4366
4366
{
4367
4367
mdb_hash_t h = mdb_hash_val (val , MDB_HASH_INIT );
@@ -9368,7 +9368,8 @@ int mdb_dbi_open(MDB_txn *txn, const char *name, unsigned int flags, MDB_dbi *db
9368
9368
return rc ;
9369
9369
}
9370
9370
9371
- int mdb_stat (MDB_txn * txn , MDB_dbi dbi , MDB_stat * arg )
9371
+ int ESECT
9372
+ mdb_stat (MDB_txn * txn , MDB_dbi dbi , MDB_stat * arg )
9372
9373
{
9373
9374
if (!arg || !TXN_DBI_EXIST (txn , dbi , DB_VALID ))
9374
9375
return EINVAL ;
@@ -9681,7 +9682,8 @@ mdb_reader_check(MDB_env *env, int *dead)
9681
9682
}
9682
9683
9683
9684
/** As #mdb_reader_check(). rlocked = <caller locked the reader mutex>. */
9684
- static int mdb_reader_check0 (MDB_env * env , int rlocked , int * dead )
9685
+ static int ESECT
9686
+ mdb_reader_check0 (MDB_env * env , int rlocked , int * dead )
9685
9687
{
9686
9688
mdb_mutexref_t rmutex = rlocked ? NULL : env -> me_rmutex ;
9687
9689
unsigned int i , j , rdrs ;
@@ -9740,7 +9742,8 @@ static int mdb_reader_check0(MDB_env *env, int rlocked, int *dead)
9740
9742
* @param[in] rc LOCK_MUTEX0() error (nonzero)
9741
9743
* @return 0 on success with the mutex locked, or an error code on failure.
9742
9744
*/
9743
- static int mdb_mutex_failed (MDB_env * env , mdb_mutexref_t mutex , int rc )
9745
+ static int ESECT
9746
+ mdb_mutex_failed (MDB_env * env , mdb_mutexref_t mutex , int rc )
9744
9747
{
9745
9748
int toggle , rlocked , rc2 ;
9746
9749
0 commit comments