summaryrefslogtreecommitdiff
path: root/include/user/kernel/rng.h
diff options
context:
space:
mode:
authorReiko Asakura2020-07-24 19:22:28 -0400
committerReiko Asakura2020-07-24 19:22:28 -0400
commitd18ab7b9fc6f59c2319bcdce00bede7e84acdf75 (patch)
tree64bea01fffe15976d94cfbff0b0040a6e606c330 /include/user/kernel/rng.h
parentAdd functions in SceAVConfig (diff)
parentRevert vitasdk commits (diff)
downloadvds-libraries-d18ab7b9fc6f59c2319bcdce00bede7e84acdf75.tar.gz
Merge Vitasdk
Diffstat (limited to 'include/user/kernel/rng.h')
-rw-r--r--include/user/kernel/rng.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/user/kernel/rng.h b/include/user/kernel/rng.h
index 177e662..af302f1 100644
--- a/include/user/kernel/rng.h
+++ b/include/user/kernel/rng.h
@@ -1,6 +1,8 @@
#ifndef _PSP2_KERNEL_RNG_H_
#define _PSP2_KERNEL_RNG_H_
+#include <psp2/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -13,7 +15,7 @@ extern "C" {
*
* @return 0 on success, < 0 on error.
*/
-int sceKernelGetRandomNumber(void *output, unsigned size);
+int sceKernelGetRandomNumber(void *output, SceSize size);
#ifdef __cplusplus
}