diff --git a/extensions/gio/nsGIOProtocolHandler.cpp b/extensions/gio/nsGIOProtocolHandler.cpp index f2484c025ec..8d74d9a674b 100644 --- a/extensions/gio/nsGIOProtocolHandler.cpp +++ b/extensions/gio/nsGIOProtocolHandler.cpp @@ -7,7 +7,6 @@ * This code is based on original Mozilla gnome-vfs extension. It implements * input stream provided by GVFS/GIO. */ -#include "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "mozilla/ModuleUtils.h" #include "nsIPrefService.h" #include "nsIPrefBranch.h" diff --git a/modules/libjar/nsJARInputStream.cpp b/modules/libjar/nsJARInputStream.cpp index 989af488973..bf954160b24 100644 --- a/modules/libjar/nsJARInputStream.cpp +++ b/modules/libjar/nsJARInputStream.cpp @@ -5,7 +5,6 @@ * 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 "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsJARInputStream.h" #include "zipstruct.h" // defines ZIP compression codes #include "nsZipArchive.h" diff --git a/netwerk/base/src/nsDirectoryIndexStream.cpp b/netwerk/base/src/nsDirectoryIndexStream.cpp index 2cc9dbada63..6863f181e08 100644 --- a/netwerk/base/src/nsDirectoryIndexStream.cpp +++ b/netwerk/base/src/nsDirectoryIndexStream.cpp @@ -14,7 +14,6 @@ */ -#include "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsEscape.h" #include "nsDirectoryIndexStream.h" #include "nsXPIDLString.h" diff --git a/netwerk/cookie/nsCookieService.cpp b/netwerk/cookie/nsCookieService.cpp index 19c3e7b42b9..58e472ef71c 100644 --- a/netwerk/cookie/nsCookieService.cpp +++ b/netwerk/cookie/nsCookieService.cpp @@ -10,7 +10,6 @@ #define FORCE_PR_LOG // Allow logging in the release build #endif -#include "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "mozilla/net/CookieServiceChild.h" #include "mozilla/net/NeckoCommon.h" diff --git a/netwerk/protocol/about/nsAboutBloat.cpp b/netwerk/protocol/about/nsAboutBloat.cpp index a55fe99aad1..568cb9563e7 100644 --- a/netwerk/protocol/about/nsAboutBloat.cpp +++ b/netwerk/protocol/about/nsAboutBloat.cpp @@ -3,7 +3,6 @@ * 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 "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsTraceRefcntImpl.h" // if NS_BUILD_REFCNT_LOGGING isn't defined, don't try to build diff --git a/netwerk/protocol/about/nsAboutCache.cpp b/netwerk/protocol/about/nsAboutCache.cpp index 784b624239a..73e27694e9a 100644 --- a/netwerk/protocol/about/nsAboutCache.cpp +++ b/netwerk/protocol/about/nsAboutCache.cpp @@ -3,7 +3,6 @@ * 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 "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsAboutCache.h" #include "nsIIOService.h" #include "nsIServiceManager.h" diff --git a/netwerk/protocol/about/nsAboutCacheEntry.cpp b/netwerk/protocol/about/nsAboutCacheEntry.cpp index 7f87b3f142d..645a6f902f0 100644 --- a/netwerk/protocol/about/nsAboutCacheEntry.cpp +++ b/netwerk/protocol/about/nsAboutCacheEntry.cpp @@ -5,7 +5,6 @@ #include -#include "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsAboutCacheEntry.h" #include "nsICacheService.h" #include "nsICacheSession.h" diff --git a/netwerk/streamconv/converters/nsFTPDirListingConv.cpp b/netwerk/streamconv/converters/nsFTPDirListingConv.cpp index 98fca4cd5be..88ae748fbab 100644 --- a/netwerk/streamconv/converters/nsFTPDirListingConv.cpp +++ b/netwerk/streamconv/converters/nsFTPDirListingConv.cpp @@ -3,7 +3,6 @@ * 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 "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsFTPDirListingConv.h" #include "nsMemory.h" #include "plstr.h" diff --git a/netwerk/test/TestProtocols.cpp b/netwerk/test/TestProtocols.cpp index 5314bc48ae4..9bfe9e262d5 100644 --- a/netwerk/test/TestProtocols.cpp +++ b/netwerk/test/TestProtocols.cpp @@ -12,7 +12,6 @@ -Gagan Saksena 04/29/99 */ -#include "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "TestCommon.h" #define FORCE_PR_LOG diff --git a/rdf/base/src/rdfutil.cpp b/rdf/base/src/rdfutil.cpp index d7c58d3d228..982174ccc0a 100644 --- a/rdf/base/src/rdfutil.cpp +++ b/rdf/base/src/rdfutil.cpp @@ -19,7 +19,6 @@ */ -#include "NSPRFormatTime.h" // must be before anything that includes prtime.h #include "nsCOMPtr.h" #include "nsIRDFDataSource.h" #include "nsIRDFNode.h" diff --git a/toolkit/xre/nsConsoleWriter.cpp b/toolkit/xre/nsConsoleWriter.cpp index b747dcd6952..bfccd072789 100644 --- a/toolkit/xre/nsConsoleWriter.cpp +++ b/toolkit/xre/nsConsoleWriter.cpp @@ -2,7 +2,6 @@ * 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 "NSPRFormatTime.h" // must include before any headers that include prtime.h #include "nsAppRunner.h" #include "prio.h" diff --git a/xpcom/base/Makefile.in b/xpcom/base/Makefile.in index f8e7de55045..56730585c29 100644 --- a/xpcom/base/Makefile.in +++ b/xpcom/base/Makefile.in @@ -68,7 +68,6 @@ EXPORTS = \ nsWeakPtr.h \ nsInterfaceRequestorAgg.h \ nsGZFileWriter.h \ - NSPRFormatTime.h \ $(NULL) EXPORTS_NAMESPACES = mozilla diff --git a/xpcom/base/NSPRFormatTime.h b/xpcom/base/NSPRFormatTime.h deleted file mode 100644 index 004370ff1cc..00000000000 --- a/xpcom/base/NSPRFormatTime.h +++ /dev/null @@ -1,12 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* 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/. */ - -// Temporarily undefine to build successfully with NO_NSPR_10_SUPPORT -#ifdef prtime_h___ -#error NSPRFormatTime.h must be included before any header that includes prtime.h -#endif -#undef NO_NSPR_10_SUPPORT -#include "prtime.h" -#define NO_NSPR_10_SUPPORT