mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1774863 - Cleanup mfbt includes r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D149669
This commit is contained in:
parent
02617d2f1e
commit
a909699ad6
@ -9,7 +9,7 @@
|
||||
#include "mozilla/UniquePtr.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
using mozilla::BitBloomFilter;
|
||||
using mozilla::CountingBloomFilter;
|
||||
|
@ -5,7 +5,8 @@
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/EnumTypeTraits.h"
|
||||
#include "mozilla/IntegerTypeTraits.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
|
@ -4,11 +4,9 @@
|
||||
* 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 "mozilla/Compiler.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/FloatingPoint.h"
|
||||
|
||||
#include <cmath> // exp2
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
|
||||
using mozilla::ExponentComponent;
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "mozilla/IntegerRange.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <type_traits>
|
||||
|
||||
using mozilla::IntegerRange;
|
||||
using mozilla::Reversed;
|
||||
|
@ -8,11 +8,7 @@
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/Compiler.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/TemplateLib.h"
|
||||
#include "mozilla/Types.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
|
||||
using mozilla::Maybe;
|
||||
using mozilla::Nothing;
|
||||
|
@ -79,15 +79,12 @@
|
||||
* at all. Thus, it is not used here.
|
||||
*/
|
||||
|
||||
#include "mozilla/IntegerPrintfMacros.h"
|
||||
|
||||
// MAP_ANON(YMOUS) is not in any standard. Add defines as necessary.
|
||||
#define _GNU_SOURCE 1
|
||||
#define _DARWIN_C_SOURCE 1
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -96,10 +93,7 @@
|
||||
# include <windows.h>
|
||||
#else
|
||||
# include <sys/types.h>
|
||||
# include <fcntl.h>
|
||||
# include <signal.h>
|
||||
# include <unistd.h>
|
||||
# include <sys/stat.h>
|
||||
# include <sys/wait.h>
|
||||
|
||||
# include <sys/mman.h>
|
||||
|
@ -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 <stddef.h>
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/TypeTraits.h"
|
||||
|
||||
using mozilla::IsDestructible;
|
||||
|
@ -5,7 +5,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/TypedEnumBits.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include <utility>
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Compiler.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/UniquePtrExtensions.h"
|
||||
#include "mozilla/Vector.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/EnumSet.h"
|
||||
#include "mozilla/IntegerRange.h"
|
||||
#include "mozilla/TextUtils.h"
|
||||
#include "mozilla/Span.h"
|
||||
|
||||
using mozilla::ArrayLength;
|
||||
using mozilla::AsChars;
|
||||
|
Loading…
Reference in New Issue
Block a user