From 1b52614c06b60ced6caecd8dcaa0911ed3aa72e2 Mon Sep 17 00:00:00 2001 From: bef Date: Thu, 20 Jun 2019 12:40:07 +0200 Subject: Fix snufflepagus_globals linking issues and one mac compatibility issue --- src/tweetnacl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/tweetnacl.c') diff --git a/src/tweetnacl.c b/src/tweetnacl.c index ad5dae5..9f66546 100644 --- a/src/tweetnacl.c +++ b/src/tweetnacl.c @@ -3,8 +3,6 @@ we're using the one from PHP.*/ #include "php_snuffleupagus.h" #include "ext/standard/php_random.h" -ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) - void randombytes(unsigned char *x, unsigned long long xlen) { assert(SIZE_MAX >= ULLONG_MAX); // max(size_t) > max(ull) ? php_random_bytes(x, xlen, 1); -- cgit v1.3