Skip to content

Commit

Permalink
Bug 1759344 - Cleanup mozglue/ includes r=andi
Browse files Browse the repository at this point in the history
  • Loading branch information
Serge Guelton committed Mar 23, 2022
1 parent ba41a4f commit 16ced53
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions mozglue/misc/AwakeTimeStamp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

#include "mozilla/Assertions.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/Maybe.h"
#include "mozilla/TimeStamp.h"

namespace mozilla {

Expand Down
1 change: 0 additions & 1 deletion mozglue/misc/AwakeTimeStamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define mozilla_AwakeTimeStamp_h

#include <stdint.h>
#include <inttypes.h>
#include <mozilla/Types.h>
#include "mozilla/Assertions.h"

Expand Down
2 changes: 0 additions & 2 deletions mozglue/misc/ConditionVariable_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

#include <errno.h>
#include <pthread.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>

#include "mozilla/PlatformConditionVariable.h"
#include "mozilla/PlatformMutex.h"
Expand Down
3 changes: 1 addition & 2 deletions mozglue/misc/MmapFaultHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@

#if defined(XP_UNIX) && !defined(XP_DARWIN) && !defined(__wasi__)

# include "PlatformMutex.h"
# include "mozilla/Assertions.h"
# include "mozilla/Atomics.h"
# include "mozilla/MemoryChecking.h"
# include "mozilla/ThreadLocal.h"
# include <signal.h>
# include <cstring>
Expand Down
2 changes: 0 additions & 2 deletions mozglue/misc/TimeStamp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
* Implementation of the OS-independent methods of the TimeStamp class
*/

#include "mozilla/Atomics.h"
#include "mozilla/TimeStamp.h"
#include "mozilla/Uptime.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Expand Down
1 change: 0 additions & 1 deletion mozglue/misc/TimeStamp_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@

#include "mozilla/Sprintf.h"
#include "mozilla/TimeStamp.h"
#include "mozilla/Uptime.h"

#if !defined(__wasi__)
# include <pthread.h>
Expand Down
1 change: 0 additions & 1 deletion mozglue/misc/Uptime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#endif // XP_WIN

#include <stdint.h>
#include <inttypes.h>

#include "mozilla/TimeStamp.h"
#include "mozilla/Maybe.h"
Expand Down

0 comments on commit 16ced53

Please sign in to comment.