1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Drop duplicate macro definitions (GH-16848)

Apparently, these have been overlooked when the macro definitions have
been moved from dns.c to php_dns.h[1].

[1] <6f2f228e4a>
This commit is contained in:
Christoph M. Becker
2024-11-25 13:56:58 +01:00
committed by GitHub
parent 5683e8b46b
commit 288776e7f8

View File

@@ -23,23 +23,6 @@
#include "php_dns.h"
#define PHP_DNS_NUM_TYPES 12 /* Number of DNS Types Supported by PHP currently */
#define PHP_DNS_A 0x00000001
#define PHP_DNS_NS 0x00000002
#define PHP_DNS_CNAME 0x00000010
#define PHP_DNS_SOA 0x00000020
#define PHP_DNS_PTR 0x00000800
#define PHP_DNS_HINFO 0x00001000
#define PHP_DNS_MX 0x00004000
#define PHP_DNS_TXT 0x00008000
#define PHP_DNS_A6 0x01000000
#define PHP_DNS_SRV 0x02000000
#define PHP_DNS_NAPTR 0x04000000
#define PHP_DNS_AAAA 0x08000000
#define PHP_DNS_ANY 0x10000000
#define PHP_DNS_ALL (PHP_DNS_A|PHP_DNS_NS|PHP_DNS_CNAME|PHP_DNS_SOA|PHP_DNS_PTR|PHP_DNS_HINFO|PHP_DNS_MX|PHP_DNS_TXT|PHP_DNS_A6|PHP_DNS_SRV|PHP_DNS_NAPTR|PHP_DNS_AAAA)
PHP_FUNCTION(dns_get_mx) /* {{{ */
{
char *hostname;