Remove some unnecessary HAVE_EXTNAME guards

A recurring pattern in old extension: Putting the whole source
code behind HAVE_EXTNAME. This is pointless, as the code is only
compiled if the extension is enabled.

This removes a couple of them, but not all.
This commit is contained in:
Nikita Popov 2020-09-07 11:05:07 +02:00
parent 8e05c44496
commit d1ac7e3ab1
9 changed files with 2 additions and 48 deletions

View file

@ -24,8 +24,6 @@
#include "Zend/zend_interfaces.h"
#include "Zend/zend_exceptions.h"
#ifdef HAVE_CURL
#include <stdio.h>
#include <string.h>
@ -3537,5 +3535,3 @@ PHP_FUNCTION(curl_pause)
RETURN_LONG(curl_easy_pause(ch->cp, bitmask));
}
/* }}} */
#endif /* HAVE_CURL */