Skip to content

Commit

Permalink
Don't export PHP_FUNCTIONS
Browse files Browse the repository at this point in the history
This causes build errors on windows because we end up having
function declarations with different linkage.
  • Loading branch information
nikic committed Oct 2, 2020
1 parent 2feda65 commit d5728a7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions php_apc.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@
#define PHP_APCU_VERSION "5.1.19-dev"
#define PHP_APCU_EXTNAME "apcu"

PHP_APCU_API PHP_FUNCTION(apcu_add);
PHP_APCU_API PHP_FUNCTION(apcu_delete);
PHP_APCU_API PHP_FUNCTION(apcu_exists);
PHP_APCU_API PHP_FUNCTION(apcu_fetch);
PHP_APCU_API PHP_FUNCTION(apcu_store);
PHP_APCU_API PHP_FUNCTION(apcu_inc);
PHP_APCU_API PHP_FUNCTION(apcu_dec);
PHP_APCU_API PHP_FUNCTION(apcu_cas);
PHP_APCU_API PHP_FUNCTION(apcu_enabled);
PHP_APCU_API PHP_FUNCTION(apcu_sma_info);
PHP_APCU_API PHP_FUNCTION(apcu_entry);

PHP_APCU_API zend_bool apc_is_enabled(void);

extern zend_module_entry apcu_module_entry;
Expand Down

0 comments on commit d5728a7

Please sign in to comment.