]> granicus.if.org Git - php/commit
Remove some unnecessary HAVE_EXTNAME guards
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 7 Sep 2020 09:05:07 +0000 (11:05 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 7 Sep 2020 09:05:07 +0000 (11:05 +0200)
commitd1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f
tree9d8bd3f15db87e3fe69a31573bae1386e27d67c5
parent8e05c4449673c8fd7bf3e1d3f5ddf4689ddd0bdb
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.
ext/curl/curl_file.c
ext/curl/interface.c
ext/curl/multi.c
ext/curl/php_curl.h
ext/curl/share.c
ext/exif/exif.c
ext/exif/php_exif.h
ext/ftp/ftp.c
ext/ftp/php_ftp.h