tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 0515e71aa8aca2c55f6735e0c7fdee4613516cd7
parent b0577668ff964314114d32854e3fb5067153b5f2
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Mon,  5 Jan 2026 10:12:35 +0000

Bug 2007349 - Remove unused references to stdio.h r=ahal,necko-reviewers,media-playback-reviewers,win-reviewers,sunil,gstoll,aosmond

Differential Revision: https://phabricator.services.mozilla.com/D277315

Diffstat:
Mbuild/win32/crashinjectdll/crashinjectdll.cpp | 1-
Mdom/media/gmp/GMPLoader.cpp | 2--
Mdom/media/gmp/GMPVideoDecoderChild.cpp | 2--
Mdom/media/gmp/GMPVideoEncoderChild.cpp | 2--
Mdom/media/gmp/widevine-adapter/WidevineUtils.cpp | 1-
Mdom/media/platforms/wmf/WMF.h | 1-
Mdom/media/systemservices/video_engine/desktop_device_info.cc | 1-
Mdom/media/webrtc/MediaEngineWebRTCAudio.cpp | 2--
Mdom/media/webrtc/libwebrtcglue/VideoStreamFactory.cpp | 1-
Mdom/media/webspeech/recognition/OnlineSpeechRecognitionService.cpp | 1-
Mgfx/2d/BufferUnrotate.cpp | 1-
Mgfx/2d/IterableArena.h | 1-
Mgfx/gl/GLContext.cpp | 1-
Mgfx/gl/GLContext.h | 1-
Mgfx/gl/GLLibraryLoader.h | 1-
Mintl/components/src/LocaleCanonicalizer.cpp | 1-
Mjs/src/fuzz-tests/tests.h | 1-
Mjs/src/jit/GraphSpewer.h | 2--
Mjs/src/jit/riscv64/constant/Base-constant-riscv.cpp | 2--
Mjs/src/jit/riscv64/constant/Constant-riscv64.h | 2--
Mjs/src/jsapi.h | 1-
Mjs/src/shell/jsoptparse.h | 2--
Mmedia/gmp-clearkey/0.1/gmp-clearkey.cpp | 1-
Mmodules/libmar/src/mar_private.h | 1-
Mmozglue/build/ppc.cpp | 1-
Mmozglue/misc/Mutex_noop.cpp | 1-
Mnetwerk/dns/PlatformDNSAndroid.cpp | 1-
Mnetwerk/dns/PlatformDNSUnix.cpp | 1-
Mnetwerk/test/gtest/TestCookie.cpp | 1-
Msecurity/ct/tests/gtest/CTPolicyEnforcerTest.cpp | 1-
Msecurity/manager/ssl/tests/gtest/CoseTest.cpp | 1-
Msecurity/manager/ssl/tests/unit/tlsserver/cmd/GenerateOCSPResponse.cpp | 2--
Mstorage/mozStorageAsyncStatement.cpp | 1-
Mtoolkit/components/ctypes/tests/jsctypes-test.cpp | 1-
Mtoolkit/components/maintenanceservice/maintenanceservice.cpp | 1-
Mtoolkit/components/maintenanceservice/tests/gtest/ServiceStartInteractiveOnly.cpp | 1-
Mtoolkit/components/processtools/ProcInfo.mm | 1-
Mtoolkit/components/processtools/ProcInfo_bsd.cpp | 1-
Mtoolkit/crashreporter/linux_utils.h | 1-
Mtoolkit/mozapps/update/common/certificatecheck.cpp | 1-
Mtoolkit/mozapps/update/common/registrycertificates.cpp | 1-
Mtoolkit/mozapps/update/updater/progressui_osx.mm | 1-
Mtoolkit/xre/dllservices/tests/TestArm64Disassembler.cpp | 2--
Mtoolkit/xre/dllservices/tests/TestOleAut32Initialization.cpp | 3+--
Mtoolkit/xre/dllservices/tests/TestStackWalkInitialization.cpp | 2--
Mtools/code-coverage/CodeCoverageHandler.cpp | 1-
Mtools/profiler/lul/platform-linux-lul.cpp | 1-
Mwidget/cocoa/nsToolkit.mm | 1-
Mwidget/windows/WindowsEventLog.h | 1-
Mwidget/windows/nsBidiKeyboard.cpp | 1-
Mwidget/windows/nsNativeDragSource.cpp | 1-
Mwidget/windows/nsNativeDragTarget.cpp | 1-
Mxpcom/base/nsCRTGlue.cpp | 1-
Mxpcom/base/nsINIParser.h | 2--
Mxpcom/build/PoisonIOInterposerWin.cpp | 2--
Mxpcom/io/nsDirectoryService.cpp | 1-
Mxpcom/tests/gtest/TestMoveString.cpp | 1-
Mxpcom/tests/gtest/TestNsDeque.cpp | 1-
Mxpcom/tests/gtest/TestPriorityQueue.cpp | 1-
Mxpcom/tests/gtest/TestUTF.cpp | 1-
Mxpcom/tests/windows/TestCOM.cpp | 1-
Mxpcom/windbgdlg/windbgdlg.cpp | 1-
62 files changed, 1 insertion(+), 76 deletions(-)

diff --git a/build/win32/crashinjectdll/crashinjectdll.cpp b/build/win32/crashinjectdll/crashinjectdll.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 <stdio.h> #include <windows.h> // make sure we only ever spawn one thread diff --git a/dom/media/gmp/GMPLoader.cpp b/dom/media/gmp/GMPLoader.cpp @@ -6,8 +6,6 @@ #include "GMPLoader.h" -#include <stdio.h> - #include "gmp-entrypoints.h" #include "nsExceptionHandler.h" #include "prenv.h" diff --git a/dom/media/gmp/GMPVideoDecoderChild.cpp b/dom/media/gmp/GMPVideoDecoderChild.cpp @@ -5,8 +5,6 @@ #include "GMPVideoDecoderChild.h" -#include <stdio.h> - #include "GMPContentChild.h" #include "GMPPlatform.h" #include "GMPVideoEncodedFrameImpl.h" diff --git a/dom/media/gmp/GMPVideoEncoderChild.cpp b/dom/media/gmp/GMPVideoEncoderChild.cpp @@ -5,8 +5,6 @@ #include "GMPVideoEncoderChild.h" -#include <stdio.h> - #include "GMPContentChild.h" #include "GMPPlatform.h" #include "GMPVideoEncodedFrameImpl.h" diff --git a/dom/media/gmp/widevine-adapter/WidevineUtils.cpp b/dom/media/gmp/widevine-adapter/WidevineUtils.cpp @@ -7,7 +7,6 @@ #include <inttypes.h> #include <stdarg.h> -#include <stdio.h> #include "GMPLog.h" #include "gmp-api/gmp-errors.h" diff --git a/dom/media/platforms/wmf/WMF.h b/dom/media/platforms/wmf/WMF.h @@ -14,7 +14,6 @@ #include <mfreadwrite.h> #include <mfobjects.h> #include <ks.h> -#include <stdio.h> #include <mferror.h> #include <propvarutil.h> #include <wmcodecdsp.h> diff --git a/dom/media/systemservices/video_engine/desktop_device_info.cc b/dom/media/systemservices/video_engine/desktop_device_info.cc @@ -5,7 +5,6 @@ #include "desktop_device_info.h" #include <cstddef> -#include <cstdio> #include <cstdlib> #include <cstring> #include <map> diff --git a/dom/media/webrtc/MediaEngineWebRTCAudio.cpp b/dom/media/webrtc/MediaEngineWebRTCAudio.cpp @@ -5,8 +5,6 @@ #include "MediaEngineWebRTCAudio.h" -#include <stdio.h> - #include <algorithm> #include "AudioConverter.h" diff --git a/dom/media/webrtc/libwebrtcglue/VideoStreamFactory.cpp b/dom/media/webrtc/libwebrtcglue/VideoStreamFactory.cpp @@ -7,7 +7,6 @@ #include "VideoStreamFactory.h" #include <stdint.h> -#include <stdio.h> #include <algorithm> #include <cmath> diff --git a/dom/media/webspeech/recognition/OnlineSpeechRecognitionService.cpp b/dom/media/webspeech/recognition/OnlineSpeechRecognitionService.cpp @@ -7,7 +7,6 @@ #include "OnlineSpeechRecognitionService.h" #include <json/json.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/gfx/2d/BufferUnrotate.cpp b/gfx/2d/BufferUnrotate.cpp @@ -9,7 +9,6 @@ #include <algorithm> // min & max #include <cstdlib> #include <stdint.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/gfx/2d/IterableArena.h b/gfx/2d/IterableArena.h @@ -8,7 +8,6 @@ #define MOZILLA_GFX_ITERABLEARENA_H_ #include <stdint.h> -#include <stdio.h> #include <string.h> #include <utility> diff --git a/gfx/gl/GLContext.cpp b/gfx/gl/GLContext.cpp @@ -7,7 +7,6 @@ #include "GLContext.h" #include <algorithm> -#include <stdio.h> #include <string.h> #include <ctype.h> #include <regex> diff --git a/gfx/gl/GLContext.h b/gfx/gl/GLContext.h @@ -9,7 +9,6 @@ #include <bitset> #include <stdint.h> -#include <stdio.h> #include <stack> #include <vector> diff --git a/gfx/gl/GLLibraryLoader.h b/gfx/gl/GLLibraryLoader.h @@ -6,7 +6,6 @@ #define GLLIBRARYLOADER_H_ #include <array> -#include <stdio.h> #include "GLDefs.h" #include "nscore.h" diff --git a/intl/components/src/LocaleCanonicalizer.cpp b/intl/components/src/LocaleCanonicalizer.cpp @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/intl/LocaleCanonicalizer.h" -#include <cstdio> #include "unicode/uloc.h" namespace mozilla::intl { diff --git a/js/src/fuzz-tests/tests.h b/js/src/fuzz-tests/tests.h @@ -8,7 +8,6 @@ #define fuzz_tests_tests_h #include <errno.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/js/src/jit/GraphSpewer.h b/js/src/jit/GraphSpewer.h @@ -9,8 +9,6 @@ #ifdef JS_JITSPEW -# include <stdio.h> - # include "js/TypeDecls.h" # include "vm/JSONPrinter.h" # include "wasm/WasmTypeDef.h" diff --git a/js/src/jit/riscv64/constant/Base-constant-riscv.cpp b/js/src/jit/riscv64/constant/Base-constant-riscv.cpp @@ -5,8 +5,6 @@ #include "mozilla/Assertions.h" -#include <stdio.h> - #include "jit/riscv64/constant/Constant-riscv-c.h" #include "jit/riscv64/constant/Constant-riscv-d.h" #include "jit/riscv64/constant/Constant-riscv-f.h" diff --git a/js/src/jit/riscv64/constant/Constant-riscv64.h b/js/src/jit/riscv64/constant/Constant-riscv64.h @@ -7,8 +7,6 @@ #ifndef jit_riscv64_constant_Constant_riscv64_h #define jit_riscv64_constant_Constant_riscv64_h -#include <stdio.h> - #include "jit/riscv64/constant/Base-constant-riscv.h" #include "jit/riscv64/constant/Constant-riscv-a.h" #include "jit/riscv64/constant/Constant-riscv-b.h" diff --git a/js/src/jsapi.h b/js/src/jsapi.h @@ -17,7 +17,6 @@ #include <stdarg.h> #include <stddef.h> #include <stdint.h> -#include <stdio.h> #include "jspubtd.h" diff --git a/js/src/shell/jsoptparse.h b/js/src/shell/jsoptparse.h @@ -7,8 +7,6 @@ #ifndef shell_jsoptparse_h #define shell_jsoptparse_h -#include <stdio.h> - #include "js/AllocPolicy.h" #include "js/Utility.h" #include "js/Vector.h" diff --git a/media/gmp-clearkey/0.1/gmp-clearkey.cpp b/media/gmp-clearkey/0.1/gmp-clearkey.cpp @@ -18,7 +18,6 @@ // This include is required in order for content_decryption_module to work // on Unix systems. #include <stddef.h> -#include <stdio.h> #include <string.h> #include <string> diff --git a/modules/libmar/src/mar_private.h b/modules/libmar/src/mar_private.h @@ -56,7 +56,6 @@ static_assert(sizeof(BLOCKSIZE) < (SIGNATURE_BLOCK_OFFSET + sizeof(uint32_t)), # include <winsock2.h> /* Include stdio.h before redefining ftello and fseeko to avoid clobbering * the ftello() and fseeko() function declarations in MinGW's stdio.h. */ -# include <stdio.h> # define ftello _ftelli64 # define fseeko _fseeki64 #else diff --git a/mozglue/build/ppc.cpp b/mozglue/build/ppc.cpp @@ -7,7 +7,6 @@ #include "ppc.h" -#include <stdio.h> #include <stdlib.h> #if defined(XP_LINUX) diff --git a/mozglue/misc/Mutex_noop.cpp b/mozglue/misc/Mutex_noop.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <errno.h> -#include <stdio.h> #include "mozilla/PlatformMutex.h" #include "MutexPlatformData_noop.h" diff --git a/netwerk/dns/PlatformDNSAndroid.cpp b/netwerk/dns/PlatformDNSAndroid.cpp @@ -12,7 +12,6 @@ #include "mozilla/Atomics.h" #include "mozilla/StaticPrefs_network.h" -#include <stdio.h> #include <stdlib.h> #include <string.h> #include <netinet/in.h> diff --git a/netwerk/dns/PlatformDNSUnix.cpp b/netwerk/dns/PlatformDNSUnix.cpp @@ -12,7 +12,6 @@ #include "mozilla/StaticPrefs_network.h" #include "mozilla/ThreadLocal.h" -#include <stdio.h> #include <stdlib.h> #include <string.h> #include <netinet/in.h> diff --git a/netwerk/test/gtest/TestCookie.cpp b/netwerk/test/gtest/TestCookie.cpp @@ -9,7 +9,6 @@ #include "nsICookieService.h" #include "nsICookieManager.h" #include "nsICookie.h" -#include <stdio.h> #include "plstr.h" #include "nsNetUtil.h" #include "nsIChannel.h" diff --git a/security/ct/tests/gtest/CTPolicyEnforcerTest.cpp b/security/ct/tests/gtest/CTPolicyEnforcerTest.cpp @@ -8,7 +8,6 @@ #include <algorithm> #include <stdint.h> -#include <stdio.h> #include "CTLogVerifier.h" #include "CTVerifyResult.h" diff --git a/security/manager/ssl/tests/gtest/CoseTest.cpp b/security/manager/ssl/tests/gtest/CoseTest.cpp @@ -7,7 +7,6 @@ #include <assert.h> #include <stdint.h> -#include <stdio.h> #include <cstddef> #include <cstring> diff --git a/security/manager/ssl/tests/unit/tlsserver/cmd/GenerateOCSPResponse.cpp b/security/manager/ssl/tests/unit/tlsserver/cmd/GenerateOCSPResponse.cpp @@ -9,8 +9,6 @@ * to generate (one or more) ocsp responses. */ -#include <stdio.h> - #include "cert.h" #include "nspr.h" #include "nss.h" diff --git a/storage/mozStorageAsyncStatement.cpp b/storage/mozStorageAsyncStatement.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <limits.h> -#include <stdio.h> #include "nsError.h" #include "nsProxyRelease.h" diff --git a/toolkit/components/ctypes/tests/jsctypes-test.cpp b/toolkit/components/ctypes/tests/jsctypes-test.cpp @@ -6,7 +6,6 @@ #include "jsctypes-test.h" #include <math.h> #include <stdarg.h> -#include <stdio.h> #include "typedefs.h" template <typename T> diff --git a/toolkit/components/maintenanceservice/maintenanceservice.cpp b/toolkit/components/maintenanceservice/maintenanceservice.cpp @@ -4,7 +4,6 @@ #include <windows.h> #include <shlwapi.h> -#include <stdio.h> #include <wchar.h> #include <shlobj.h> diff --git a/toolkit/components/maintenanceservice/tests/gtest/ServiceStartInteractiveOnly.cpp b/toolkit/components/maintenanceservice/tests/gtest/ServiceStartInteractiveOnly.cpp @@ -1,6 +1,5 @@ #include "gtest/gtest.h" -#include <stdio.h> #include <windows.h> #include <sddl.h> diff --git a/toolkit/components/processtools/ProcInfo.mm b/toolkit/components/processtools/ProcInfo.mm @@ -10,7 +10,6 @@ #include "nsMemoryReporterManager.h" -#include <cstdio> #include <cstring> #include <unistd.h> diff --git a/toolkit/components/processtools/ProcInfo_bsd.cpp b/toolkit/components/processtools/ProcInfo_bsd.cpp @@ -14,7 +14,6 @@ #include <sys/types.h> #include <sys/sysctl.h> #include <cerrno> -#include <cstdio> #include <cstring> #include <unistd.h> #ifdef __FreeBSD__ diff --git a/toolkit/crashreporter/linux_utils.h b/toolkit/crashreporter/linux_utils.h @@ -6,7 +6,6 @@ #ifndef toolkit_breakpad_linux_utils_h__ #define toolkit_breakpad_linux_utils_h__ -#include <stdio.h> #include <stdint.h> bool ElfFileSoVersion(const char* mapping_name, uint32_t* version); diff --git a/toolkit/mozapps/update/common/certificatecheck.cpp b/toolkit/mozapps/update/common/certificatecheck.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 <stdio.h> #include <stdlib.h> #include <windows.h> #include <softpub.h> diff --git a/toolkit/mozapps/update/common/registrycertificates.cpp b/toolkit/mozapps/update/common/registrycertificates.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 <stdio.h> #include <stdlib.h> #include <windows.h> diff --git a/toolkit/mozapps/update/updater/progressui_osx.mm b/toolkit/mozapps/update/updater/progressui_osx.mm @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #import <Cocoa/Cocoa.h> -#include <stdio.h> #include <unistd.h> #include "mozilla/Sprintf.h" #include "progressui.h" diff --git a/toolkit/xre/dllservices/tests/TestArm64Disassembler.cpp b/toolkit/xre/dllservices/tests/TestArm64Disassembler.cpp @@ -4,8 +4,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 <cstdio> - #include "mozilla/Result.h" #include "mozilla/ResultVariant.h" #include "mozilla/interceptor/Arm64.h" diff --git a/toolkit/xre/dllservices/tests/TestOleAut32Initialization.cpp b/toolkit/xre/dllservices/tests/TestOleAut32Initialization.cpp @@ -7,12 +7,11 @@ #include "mozilla/WindowsOleAut32Initialization.h" #include <windows.h> +#include <wchar.h> #include <oleauto.h> #pragma comment(lib, "oleaut32") -#include <cstdio> - // This test fails by crashing the process with a heap corruption, which occurs // if VariantClear has its default behavior but should not occur after a call // to WindowsOleAut32Initialization(). diff --git a/toolkit/xre/dllservices/tests/TestStackWalkInitialization.cpp b/toolkit/xre/dllservices/tests/TestStackWalkInitialization.cpp @@ -12,8 +12,6 @@ #include <windows.h> -#include <cstdio> - #define TEST_FAILED(format, ...) \ do { \ wprintf(L"TEST-FAILED | TestStackWalkInitialization | " format __VA_OPT__( \ diff --git a/tools/code-coverage/CodeCoverageHandler.cpp b/tools/code-coverage/CodeCoverageHandler.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 <stdio.h> #ifdef XP_WIN # include <process.h> # define getpid _getpid diff --git a/tools/profiler/lul/platform-linux-lul.cpp b/tools/profiler/lul/platform-linux-lul.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 <stdio.h> #include <signal.h> #include <string.h> #include <stdlib.h> diff --git a/widget/cocoa/nsToolkit.mm b/widget/cocoa/nsToolkit.mm @@ -7,7 +7,6 @@ #include <ctype.h> #include <stdlib.h> -#include <stdio.h> #include <mach/mach_port.h> #include <mach/mach_interface.h> diff --git a/widget/windows/WindowsEventLog.h b/widget/windows/WindowsEventLog.h @@ -11,7 +11,6 @@ * Report messages to the Windows Event Log. */ -#include <stdio.h> #include <windows.h> #include "mozilla/Attributes.h" diff --git a/widget/windows/nsBidiKeyboard.cpp b/widget/windows/nsBidiKeyboard.cpp @@ -4,7 +4,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 <stdio.h> #include "nsBidiKeyboard.h" #include "WidgetUtils.h" #include "nsIWidget.h" diff --git a/widget/windows/nsNativeDragSource.cpp b/widget/windows/nsNativeDragSource.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsNativeDragSource.h" -#include <stdio.h> #include "nsISupportsImpl.h" #include "nsString.h" #include "nsToolkit.h" diff --git a/widget/windows/nsNativeDragTarget.cpp b/widget/windows/nsNativeDragTarget.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 <stdio.h> #include "nsIDragService.h" #include "nsWidgetsCID.h" #include "nsNativeDragTarget.h" diff --git a/xpcom/base/nsCRTGlue.cpp b/xpcom/base/nsCRTGlue.cpp @@ -11,7 +11,6 @@ #include <stdlib.h> #include <string.h> -#include <stdio.h> #include <stdarg.h> #include "mozilla/Sprintf.h" diff --git a/xpcom/base/nsINIParser.h b/xpcom/base/nsINIParser.h @@ -17,8 +17,6 @@ #include "nsClassHashtable.h" #include "mozilla/UniquePtr.h" -#include <stdio.h> - class nsIFile; class nsINIParser { diff --git a/xpcom/build/PoisonIOInterposerWin.cpp b/xpcom/build/PoisonIOInterposerWin.cpp @@ -6,8 +6,6 @@ #include "PoisonIOInterposer.h" -#include <stdio.h> - #include <io.h> #include <windows.h> #include <winternl.h> diff --git a/xpcom/io/nsDirectoryService.cpp b/xpcom/io/nsDirectoryService.cpp @@ -23,7 +23,6 @@ # include <windows.h> # include <shlobj.h> # include <stdlib.h> -# include <stdio.h> #elif defined(XP_UNIX) # include <unistd.h> # include <stdlib.h> diff --git a/xpcom/tests/gtest/TestMoveString.cpp b/xpcom/tests/gtest/TestMoveString.cpp @@ -4,7 +4,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 <stdio.h> #include <stdlib.h> #include "nsASCIIMask.h" #include "nsString.h" diff --git a/xpcom/tests/gtest/TestNsDeque.cpp b/xpcom/tests/gtest/TestNsDeque.cpp @@ -8,7 +8,6 @@ #include "nsDeque.h" #include "nsCRT.h" #include "mozilla/RefPtr.h" -#include <stdio.h> #include <functional> #include <type_traits> #include <utility> diff --git a/xpcom/tests/gtest/TestPriorityQueue.cpp b/xpcom/tests/gtest/TestPriorityQueue.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsTPriorityQueue.h" -#include <stdio.h> #include <stdlib.h> #include "gtest/gtest.h" diff --git a/xpcom/tests/gtest/TestUTF.cpp b/xpcom/tests/gtest/TestUTF.cpp @@ -4,7 +4,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 <stdio.h> #include <stdlib.h> #include "nsString.h" #include "nsReadableUtils.h" diff --git a/xpcom/tests/windows/TestCOM.cpp b/xpcom/tests/windows/TestCOM.cpp @@ -5,7 +5,6 @@ #include <windows.h> #include <unknwn.h> -#include <stdio.h> #include "nsISupports.h" #include "nsCOMPtr.h" #include "mozilla/gtest/MozAssertions.h" diff --git a/xpcom/windbgdlg/windbgdlg.cpp b/xpcom/windbgdlg/windbgdlg.cpp @@ -14,7 +14,6 @@ /* MingW currently does not implement a wide version of the startup routines. Workaround is to implement something like it ourselves. See bug 472063 */ -# include <stdio.h> # include <shellapi.h> int WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int);