summaryrefslogtreecommitdiff
path: root/include/user/kernel/rng.h
diff options
context:
space:
mode:
authorPrincess of Sleeping2020-06-26 21:32:02 +0900
committerGitHub2020-06-26 21:32:02 +0900
commit55725cf5ec61ac9b3685bc4952095475da5c9178 (patch)
tree54ea391c4683431e073e5c75efa1e30f0c369f93 /include/user/kernel/rng.h
parentFix modulemgr two function arg name and document (diff)
downloadvds-libraries-55725cf5ec61ac9b3685bc4952095475da5c9178.tar.gz
Fix many args (#451)
Changes document and variable types
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
}