summaryrefslogtreecommitdiff
path: root/ext/standard/php_random.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_random.h')
-rw-r--r--ext/standard/php_random.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/php_random.h b/ext/standard/php_random.h
index 1cf471befe..c45a3249b9 100644
--- a/ext/standard/php_random.h
+++ b/ext/standard/php_random.h
@@ -17,6 +17,8 @@
#ifndef PHP_RANDOM_H
#define PHP_RANDOM_H
+BEGIN_EXTERN_C()
+
PHP_FUNCTION(random_bytes);
PHP_FUNCTION(random_int);
@@ -46,4 +48,6 @@ extern PHPAPI int random_globals_id;
extern PHPAPI php_random_globals random_globals;
#endif
+END_EXTERN_C()
+
#endif