summaryrefslogtreecommitdiff
path: root/include/user/kernel/rng.h
diff options
context:
space:
mode:
authorxyzz2016-08-29 20:03:08 +0200
committerGitHub2016-08-29 20:03:08 +0200
commitc4ad3e949f8db5ad05d50591c039688286394036 (patch)
tree0d78b02a6630909b2b15f87ca05e239d67872722 /include/user/kernel/rng.h
parentFixed typo (diff)
parentAdded missing __cplusplus guards. (diff)
downloadvds-libraries-c4ad3e949f8db5ad05d50591c039688286394036.tar.gz
Merge pull request #29 from codestation/master
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_ */