header cleanups; fix IDE warnings
[m6w6/ext-http] / php_http_url.c
index fd4ec2bf11db3f06cec4d0cc5080c24dcd3387d2..b55b7d7028d109532fe25d5f13e8da9751b20423 100644 (file)
     +--------------------------------------------------------------------+
 */
 
-#include "php_http.h"
-
-#include <main/SAPI.h>
-#include <ext/standard/php_string.h>
+#include "php_http_api.h"
 
 static inline char *localhostname(void)
 {
@@ -246,7 +243,7 @@ PHP_HTTP_API void php_http_url(int flags, const php_url *old_url, const php_url
                                                /* .. at the end */
                                                ptr[1] = '\0';
                                        }
-                                       /* fallthrough */
+                                       /* no break */
                                
                                default:
                                        /* something else */