Skip to content

Commit

Permalink
Fix include order of files outside of Source/Core
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilka committed Mar 1, 2015
1 parent 4304648 commit b0bde31
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Source/DSPSpy/ConsoleHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

#pragma once

#include <iostream>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <iostream>

#define CON_BLACK 0
#define CON_RED 1
Expand Down
2 changes: 1 addition & 1 deletion Source/DSPSpy/Stubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
// Stubs to make DSPCore compile as part of DSPSpy.

/*
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
Expand Down
10 changes: 5 additions & 5 deletions Source/DSPSpy/main_spy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
// Use Dolphin's dsptool to generate a new dsp_code.h.
// Originally written by duddie and modified by FIRES. Then further modified by ector.

#include <debug.h>
#include <fat.h>
#include <fcntl.h>
#include <gccore.h>
#include <malloc.h>
#include <network.h>
#include <ogcsys.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <network.h>
#include <ogcsys.h>
#include <time.h>
#include <fat.h>
#include <fcntl.h>
#include <debug.h>

#include <unistd.h>
#include <ogc/color.h>
Expand Down
4 changes: 2 additions & 2 deletions Source/PCH/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
#endif
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <limits>
#include <limits.h>
#include <list>
#include <locale.h>
#include <map>
#include <math.h>
#include <memory.h>
#include <memory>
#include <memory.h>
#include <mutex>
#include <numeric>
#ifndef _WIN32
Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Common/EventTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include <gtest/gtest.h>
#include <thread>
#include <gtest/gtest.h>

#include "Common/Event.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Common/FifoQueueTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include <gtest/gtest.h>
#include <thread>
#include <gtest/gtest.h>

#include "Common/FifoQueue.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Common/FlagTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// Refer to the license.txt file included.

#include <array>
#include <gtest/gtest.h>
#include <thread>
#include <gtest/gtest.h>

#include "Common/Flag.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Common/MathUtilTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include <gtest/gtest.h>
#include <limits>
#include <random>
#include <gtest/gtest.h>

#include "Common/MathUtil.h"

Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Common/x64EmitterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include <cstring>
#include <cctype>
#include <cstring>
#include <disasm.h> // From Bochs, fallback included in Externals.
#include <map>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Core/PageFaultTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "Core/PowerPC/JitCommon/JitBase.h"

// include order is important
#include <gtest/gtest.h>
#include <gtest/gtest.h> // NOLINT

#if _M_X86_64 || _M_ARM_32
enum
Expand Down

0 comments on commit b0bde31

Please sign in to comment.