]> granicus.if.org Git - php/commitdiff
Merge r286857: Change dns.h to php_dns.h, part of my dns cleanup
authorScott MacVicar <scottmac@php.net>
Thu, 6 Aug 2009 14:07:16 +0000 (14:07 +0000)
committerScott MacVicar <scottmac@php.net>
Thu, 6 Aug 2009 14:07:16 +0000 (14:07 +0000)
ext/standard/basic_functions.c
ext/standard/config.m4
ext/standard/dns.c
ext/standard/php_dns.h [moved from ext/standard/dns.h with 96% similarity]
ext/standard/php_standard.h

index db1d800eb5803f097263b9a89f89bbed79630e0f..17f1c649f85e2e3b52e6822ea23e04f7e38a088b 100644 (file)
@@ -31,7 +31,7 @@
 #include "ext/standard/info.h"
 #include "ext/session/php_session.h"
 #include "zend_operators.h"
-#include "ext/standard/dns.h"
+#include "ext/standard/php_dns.h"
 #include "ext/standard/php_uuencode.h"
 
 #ifdef PHP_WIN32
index 743155fffa3a5e5d89fd6b83dad5f004c0436b4b..56848f9ed8b88ba476a4de11fd451c3e50daa3da 100644 (file)
@@ -309,7 +309,7 @@ fi
 
 dnl
 dnl Detect library functions needed by php dns_xxx functions
-dnl ext/standard/dns.h will collect these in a single define: HAVE_DNS_FUNCS
+dnl ext/standard/php_dns.h will collect these in a single define: HAVE_DNS_FUNCS
 dnl
 PHP_CHECK_FUNC(res_nmkquery, resolv, bind, socket)
 PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
index 762a1bda7e6e7961ee17d598ee1e07b2506c1486..02a7a0796237d9f735c8909c656c11b394716066 100644 (file)
@@ -68,7 +68,7 @@
 #define AF_INET 2   /* internetwork: UDP, TCP, etc. */
 #endif
 
-#include "dns.h"
+#include "php_dns.h"
 
 /* type compat */
 #ifndef DNS_T_A
similarity index 96%
rename from ext/standard/dns.h
rename to ext/standard/php_dns.h
index fa006e7947f3e41a4c48e61491c8ccaa80a573f8..889c16785654949e561f8e2602374563fe307b6a 100644 (file)
@@ -20,8 +20,8 @@
 
 /* $Id$ */
 
-#ifndef DNS_H
-#define DNS_H
+#ifndef PHP_DNS_H
+#define PHP_DNS_H
 
 #if HAVE_RES_NMKQUERY && HAVE_RES_NSEND && HAVE_DN_EXPAND && HAVE_DN_SKIPNAME
 #define HAVE_DNS_FUNCS 1
@@ -51,4 +51,4 @@ PHP_MINIT_FUNCTION(dns);
 #define INT32SZ                4
 #endif
 
-#endif /* DNS_H */
+#endif /* PHP_DNS_H */
index ffa4bf767534f7c8a7742feabfff6c63a58dd54d..47576eea970948f450191cdfcf3f44012c176b7f 100644 (file)
@@ -23,7 +23,7 @@
 #include "php_string.h"
 #include "base64.h"
 #include "php_dir.h"
-#include "dns.h"
+#include "php_dns.h"
 #include "reg.h"
 #include "php_mail.h"
 #include "md5.h"