aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/util.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 21:45:25 +0000
committerlloyd <[email protected]>2008-09-29 21:45:25 +0000
commit98e89e86beec39c9a789f8dba72dc5746c31943d (patch)
treeb0282892e61fa2930bd20e08d2a940c7adc4d176 /src/utils/util.h
parent8157ca69909e59682619822d6d54c9c7e90be406 (diff)
Merge the 3 mlocks (ml_unix, ml_win32, stub mlock.cpp) into a single mlock.cpp
in utils. Support OS feature macros, eg BOTAN_TARGET_OS_HAS_POSIX_MLOCK (how very autoconf)
Diffstat (limited to 'src/utils/util.h')
-rw-r--r--src/utils/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/util.h b/src/utils/util.h
index 879acd1db..62ecb948d 100644
--- a/src/utils/util.h
+++ b/src/utils/util.h
@@ -18,7 +18,7 @@ BOTAN_DLL u64bit system_time();
/*************************************************
* Memory Locking Functions *
*************************************************/
-BOTAN_DLL void lock_mem(void*, u32bit);
+BOTAN_DLL bool lock_mem(void*, u32bit);
BOTAN_DLL void unlock_mem(void*, u32bit);
/*************************************************