summaryrefslogtreecommitdiff
path: root/include/user/kernel/rng.h
diff options
context:
space:
mode:
authorcodestation2016-08-29 13:57:02 -0400
committercodestation2016-08-29 13:57:02 -0400
commit7cfa4cd5a42956e0c791675b835d041f8d378b83 (patch)
tree0d78b02a6630909b2b15f87ca05e239d67872722 /include/user/kernel/rng.h
parentFixed typo (diff)
downloadvds-libraries-7cfa4cd5a42956e0c791675b835d041f8d378b83.tar.gz
Added missing __cplusplus guards.
Diffstat (limited to 'include/user/kernel/rng.h')
-rw-r--r--include/user/kernel/rng.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/user/kernel/rng.h b/include/user/kernel/rng.h
index 2474a48..108362f 100644
--- a/include/user/kernel/rng.h
+++ b/include/user/kernel/rng.h
@@ -1,6 +1,10 @@
#ifndef _PSP2_KERNEL_RNG_H_
#define _PSP2_KERNEL_RNG_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/***
* Fills the output buffer with random data.
*
@@ -11,4 +15,8 @@
*/
int sceKernelGetRandomNumber(void *output, unsigned size);
+#ifdef __cplusplus
+}
#endif
+
+#endif /* _PSP2_KERNEL_RNG_H_ */