Skip to content

Commit eb986aa

Browse files
committed
Eliminate Assertions.h's dependency on Types.h, for a narrower interface and minimized dependencies. No bug, r=Ms2ger
--HG-- extra : rebase_source : 0d68ef6274ad697bf4ff49038ef19368174dad54
1 parent 765347b commit eb986aa

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

mfbt/Assertions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#define mozilla_Assertions_h_
1010

1111
#include "mozilla/Attributes.h"
12-
#include "mozilla/Types.h"
1312

13+
#include <stddef.h>
1414
#include <stdio.h>
1515
#include <stdlib.h>
1616
#ifdef WIN32

mfbt/HashFunctions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/* Implementations of hash functions. */
77

88
#include "mozilla/HashFunctions.h"
9+
#include "mozilla/Types.h"
910

1011
#include <string.h>
1112

mfbt/HashFunctions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#include "mozilla/Assertions.h"
4949
#include "mozilla/Attributes.h"
5050
#include "mozilla/StandardInteger.h"
51+
#include "mozilla/Types.h"
5152

5253
#ifdef __cplusplus
5354
namespace mozilla {

0 commit comments

Comments
 (0)