Skip to content

Commit 7e19588

Browse files
committed
Remove nanoprintf
- Update CMake, declarations and projects accordingly.
1 parent 70a0a96 commit 7e19588

File tree

16 files changed

+1
-1661
lines changed

16 files changed

+1
-1661
lines changed

CMake/Modules/FindNF_CoreCLR.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ set(NF_CoreCLR_SRCS
143143
Messaging_stub.cpp
144144

145145
# Helpers
146-
nanoprintf.c
147146
nanoRingBuffer.c
148147
Info_Safeprintf.cpp
149148

src/CLR/CorLib/CorLib.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
#include "corlib_native.h"
1515
#include "nanoCRT.h"
1616

17-
#ifndef VIRTUAL_DEVICE
18-
#include <nanoprintf.h>
19-
#endif // VIRTUAL_DEVICE
20-
2117
#endif // NANOCLR_CORLIB_NATIVE_H

src/CLR/CorLib/corlib_native_System_Number.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// See LICENSE file in the project root for full license information.
55
//
66
#include "CorLib.h"
7-
#include <nanoprintf.h>
87

98
// must be big enough to fit the biggest number
109
// decorated with negative signs, group separators, etc.

src/CLR/Core/Core.vcxproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
</ProjectConfiguration>
2020
</ItemGroup>
2121
<ItemGroup>
22-
<ClCompile Include="..\Helpers\nanoprintf\nanoprintf.c" />
2322
<ClCompile Include="Cache.cpp" />
2423
<ClCompile Include="Checks.cpp" />
2524
<ClCompile Include="CLR_RT_DblLinkedList.cpp" />
@@ -218,4 +217,4 @@
218217
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
219218
<ImportGroup Label="ExtensionTargets">
220219
</ImportGroup>
221-
</Project>
220+
</Project>

src/CLR/Core/Core.vcxproj.filters

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@
132132
<ClCompile Include="CLR_RT_HeapBlock_Queue.cpp">
133133
<Filter>Source Files</Filter>
134134
</ClCompile>
135-
<ClCompile Include="..\Helpers\nanoprintf\nanoprintf.c">
136-
<Filter>Source Files</Filter>
137-
</ClCompile>
138135
<ClCompile Include="nanoSupport_CRC32.c">
139136
<Filter>Source Files</Filter>
140137
</ClCompile>

src/CLR/Diagnostics/Diagnostics.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@
1111
//#include <core.h>
1212

1313
#include <corlib_native.h>
14-
#ifndef VIRTUAL_DEVICE
15-
#include <nanoprintf.h>
16-
#endif // VIRTUAL_DEVICE
1714
//#include <spot_net_native.h>

src/CLR/Diagnostics/Info_Safeprintf.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//
66

77
#include <nanoCLR_Types.h>
8-
#include <nanoprintf.h>
98

109
bool CLR_SafeSprintfV(char *&szBuffer, size_t &iBuffer, const char *format, va_list arg)
1110
{

0 commit comments

Comments
 (0)