From 3ab467100883adedab71a28e1699799e45ab0b2d Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Wed, 19 Jun 2019 11:04:17 +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