diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-07 11:05:07 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-07 11:05:07 +0200 |
commit | d1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f (patch) | |
tree | 9d8bd3f15db87e3fe69a31573bae1386e27d67c5 /ext/ftp/ftp.c | |
parent | 8e05c4449673c8fd7bf3e1d3f5ddf4689ddd0bdb (diff) | |
download | php-git-d1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f.tar.gz |
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.
Diffstat (limited to 'ext/ftp/ftp.c')
-rw-r--r-- | ext/ftp/ftp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 3defd3d506..7ce3386c57 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -21,8 +21,6 @@ #include "php.h" -#ifdef HAVE_FTP - #include <stdio.h> #include <ctype.h> #include <stdlib.h> @@ -2266,5 +2264,3 @@ bail: return PHP_FTP_FAILED; } /* }}} */ - -#endif /* HAVE_FTP */ |