Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 18 Oct 2013 10:45:29 -0400
changeset 165165 fb616f657c4cb091f50c434c800f7e08ff256867
parent 165164 9ae8ea90aff4e142f777beb659f8488d35a0a983
child 165166 48932e8aa16206d69a1b0f738fcce733c8b3599a
push id3066
push userakeybl@mozilla.com
push dateMon, 09 Dec 2013 19:58:46 +0000
treeherdermozilla-beta@a31a0dce83aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcmanus
bugs928052
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus
netwerk/base/src/nsURLParsers.cpp
netwerk/cache/nsDiskCacheDevice.cpp
netwerk/cache/nsDiskCacheMap.h
netwerk/mime/nsMIMEHeaderParamImpl.cpp
netwerk/socket/nsSOCKSIOLayer.h
--- a/netwerk/base/src/nsURLParsers.cpp
+++ b/netwerk/base/src/nsURLParsers.cpp
@@ -4,17 +4,16 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include <string.h>
 
 #include "mozilla/RangedPtr.h"
 
 #include "nsURLParsers.h"
 #include "nsURLHelper.h"
-#include "prtypes.h"
 #include "nsString.h"
 #include "nsCRT.h"
 
 using namespace mozilla;
 
 //----------------------------------------------------------------------------
 
 static uint32_t
--- a/netwerk/cache/nsDiskCacheDevice.cpp
+++ b/netwerk/cache/nsDiskCacheDevice.cpp
@@ -18,17 +18,16 @@
 #include <windows.h>
 #elif defined(XP_OS2)
 #define INCL_DOSERRORS
 #include <os2.h>
 #else
 // XXX add necessary include file for ftruncate (or equivalent)
 #endif
 
-#include "prtypes.h"
 #include "prthread.h"
 #include "prbit.h"
 
 #include "private/pprio.h"
 
 #include "nsDiskCacheDevice.h"
 #include "nsDiskCacheEntry.h"
 #include "nsDiskCacheMap.h"
--- a/netwerk/cache/nsDiskCacheMap.h
+++ b/netwerk/cache/nsDiskCacheMap.h
@@ -5,17 +5,16 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef _nsDiskCacheMap_h_
 #define _nsDiskCacheMap_h_
 
 #include "mozilla/MemoryReporting.h"
 #include <limits.h>
 
-#include "prtypes.h"
 #include "prnetdb.h"
 #include "nsDebug.h"
 #include "nsError.h"
 #include "nsIFile.h"
 #include "nsITimer.h"
 
 #include "nsDiskCache.h"
 #include "nsDiskCacheBlockFile.h"
--- a/netwerk/mime/nsMIMEHeaderParamImpl.cpp
+++ b/netwerk/mime/nsMIMEHeaderParamImpl.cpp
@@ -1,16 +1,15 @@
 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set sw=4 ts=8 et tw=80 : */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include <string.h>
-#include "prtypes.h"
 #include "prmem.h"
 #include "prprf.h"
 #include "plstr.h"
 #include "plbase64.h"
 #include "nsCRT.h"
 #include "nsMemory.h"
 #include "nsTArray.h"
 #include "nsCOMPtr.h"
--- a/netwerk/socket/nsSOCKSIOLayer.h
+++ b/netwerk/socket/nsSOCKSIOLayer.h
@@ -2,17 +2,16 @@
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef nsSOCKSIOLayer_h__
 #define nsSOCKSIOLayer_h__
 
-#include "prtypes.h"
 #include "prio.h"
 #include "nscore.h"
 
 nsresult nsSOCKSIOLayerAddToSocket(int32_t       family,
                                    const char   *host, 
                                    int32_t       port,
                                    const char   *proxyHost,
                                    int32_t       proxyPort,