tor-browser

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

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

Bug 2007350 - Remove unused references to stdlib.h r=ahal,necko-reviewers,sunil

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

Diffstat:
Mdom/media/systemservices/video_engine/desktop_device_info.cc | 1-
Mdom/media/webspeech/recognition/OnlineSpeechRecognitionService.cpp | 1-
Mgfx/2d/BufferUnrotate.cpp | 2--
Mjs/src/fuzz-tests/tests.h | 1-
Mmodules/libmar/src/mar_private.h | 1-
Mmozglue/build/ppc.cpp | 2--
Mnetwerk/dns/PlatformDNSAndroid.cpp | 1-
Mtoolkit/mozapps/update/common/certificatecheck.cpp | 1-
Mtoolkit/mozapps/update/common/registrycertificates.cpp | 1-
Mtools/profiler/lul/platform-linux-lul.cpp | 1-
Mxpcom/tests/gtest/TestMoveString.cpp | 1-
Mxpcom/tests/gtest/TestPriorityQueue.cpp | 1-
Mxpcom/tests/gtest/TestUTF.cpp | 1-
13 files changed, 0 insertions(+), 15 deletions(-)

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 <cstdlib> #include <cstring> #include <map> #include <memory> 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 <stdlib.h> #include <string.h> #include "OggWriter.h" diff --git a/gfx/2d/BufferUnrotate.cpp b/gfx/2d/BufferUnrotate.cpp @@ -7,9 +7,7 @@ #include "BufferUnrotate.h" #include <algorithm> // min & max -#include <cstdlib> #include <stdint.h> -#include <stdlib.h> #include <string.h> namespace mozilla { 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 <stdlib.h> #include <string.h> #include "FuzzingInterface.h" diff --git a/modules/libmar/src/mar_private.h b/modules/libmar/src/mar_private.h @@ -62,7 +62,6 @@ static_assert(sizeof(BLOCKSIZE) < (SIGNATURE_BLOCK_OFFSET + sizeof(uint32_t)), # define _FILE_OFFSET_BITS 64 # include <netinet/in.h> # include <unistd.h> -# include <stdio.h> #endif #define HOST_TO_NETWORK64(x) \ diff --git a/mozglue/build/ppc.cpp b/mozglue/build/ppc.cpp @@ -7,8 +7,6 @@ #include "ppc.h" -#include <stdlib.h> - #if defined(XP_LINUX) // Use the getauxval() function if available. // ARCH_3_00 wasn't defined until glibc 2.23, so include just in case. 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 <stdlib.h> #include <string.h> #include <netinet/in.h> #include <resolv.h> 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 <stdlib.h> #include <windows.h> #include <softpub.h> #include <wintrust.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 <stdlib.h> #include <windows.h> #include "registrycertificates.h" diff --git a/tools/profiler/lul/platform-linux-lul.cpp b/tools/profiler/lul/platform-linux-lul.cpp @@ -5,7 +5,6 @@ #include <signal.h> #include <string.h> -#include <stdlib.h> #include <time.h> #include "mozilla/ProfilerState.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 <stdlib.h> #include "nsASCIIMask.h" #include "nsString.h" #include "nsReadableUtils.h" 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 <stdlib.h> #include "gtest/gtest.h" template <class T, class Compare> 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 <stdlib.h> #include "nsString.h" #include "nsReadableUtils.h" #include "UTFStrings.h"