Skip to content

Commit

Permalink
Remove unnecessary #include "awint.hpp"
Browse files Browse the repository at this point in the history
  • Loading branch information
grcm10 committed Sep 8, 2023
1 parent d8ed02d commit accf133
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 13 deletions.
2 changes: 0 additions & 2 deletions stl/src/cthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

#include <Windows.h>

#include "awint.hpp"

namespace {
using _Thrd_start_t = int (*)(void*);

Expand Down
2 changes: 0 additions & 2 deletions stl/src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

#include <Windows.h>

#include "awint.hpp"

#ifdef _CRT_APP
// free static resource used by causality
extern "C" void __cdecl __crtCleanupCausalityStaticFactories();
Expand Down
4 changes: 3 additions & 1 deletion stl/src/primitives.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@

#pragma once

#include <yvals.h>

#include <exception>
#include <new>

#include "awint.hpp"
#include <Windows.h>

namespace Concurrency {
namespace details {
Expand Down
3 changes: 2 additions & 1 deletion stl/src/taskscheduler.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#include <yvals.h>

#include <condition_variable>
#include <cstddef> // for size_t
#include <mutex>
#include <ppltaskscheduler.h>

#include <Windows.h>

#include "awint.hpp"
#include "init_locks.hpp"

#pragma warning(disable : 4074)
Expand Down
2 changes: 1 addition & 1 deletion stl/src/winapisupp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// Prevent clang-format from reordering <AppModel.h> before <Windows.h>
#include <Windows.h>
#include <AppModel.h> // for APPMODEL_ERROR_NO_PACKAGE
#include "awint.hpp"
#include <internal_shared.h>
#include <cstdlib>
#include <yvals.h>
// clang-format on

#pragma warning(push)
Expand Down
4 changes: 2 additions & 2 deletions stl/src/xalloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

// TRANSITION, ABI: The functions in this file are preserved for binary compatibility

#include <yvals.h>

#include <stdexcept>

#include <Windows.h>

#include "awint.hpp"

namespace stdext {
namespace threads {

Expand Down
4 changes: 3 additions & 1 deletion stl/src/xdateord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@

// look up date ordering

#include <yvals.h>

#include <locale>

#include "awint.hpp"
#include <Windows.h>

_EXTERN_C_UNLESS_PURE

Expand Down
2 changes: 1 addition & 1 deletion stl/src/xgetwctype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <__msvc_xlocinfo_types.hpp>
#include <cwchar>

#include "awint.hpp"
#include <Windows.h>

_EXTERN_C_UNLESS_PURE

Expand Down
2 changes: 1 addition & 1 deletion stl/src/xmtx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "xmtx.hpp"

#include "awint.hpp"
#include <yvals.h>

_EXTERN_C_UNLESS_PURE

Expand Down
4 changes: 3 additions & 1 deletion stl/src/xonce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@

// _Execute_once function

#include <yvals.h>

#include <mutex>

#include "awint.hpp"
#include <Windows.h>

namespace {
struct _Xfg_trampoline_parameter {
Expand Down

0 comments on commit accf133

Please sign in to comment.