summaryrefslogtreecommitdiff
path: root/sal/inc
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-11 11:12:57 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-11 13:16:07 +0100
commitd248a7131ff495fb817cc4963298363b9e1b2008 (patch)
tree21e410405d02a7b660bf15a0977bf6a1d64045b7 /sal/inc
parent7d594687216f183a681ecfe7e1d424d8a55422c2 (diff)
osl_get_system_random_data should return bool
Change-Id: I29535d3562fe1b8d05b8df1d6c9ab83e4ead0f74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163227 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'sal/inc')
-rw-r--r--sal/inc/oslrandom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/oslrandom.h b/sal/inc/oslrandom.h
index b65878433225..891277bba675 100644
--- a/sal/inc/oslrandom.h
+++ b/sal/inc/oslrandom.h
@@ -16,7 +16,7 @@
extern "C" {
#endif
-int osl_get_system_random_data(char* buffer, size_t desired_len);
+bool osl_get_system_random_data(char* buffer, size_t desired_len);
#if defined __cplusplus
}