From 7cfa4cd5a42956e0c791675b835d041f8d378b83 Mon Sep 17 00:00:00 2001 From: codestation Date: Mon, 29 Aug 2016 13:57:02 -0400 Subject: Added missing __cplusplus guards. --- include/user/kernel/rng.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/user/kernel/rng.h') 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_ */ -- cgit v1.2.3