Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 05a0a84

Browse files
committed
Cleanup include directives
1 parent a959b76 commit 05a0a84

File tree

5 files changed

+9
-28
lines changed

5 files changed

+9
-28
lines changed

src/corefx/System.Globalization.Native/calendarData.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
#include "locale.hpp"
1111
#include "holders.h"
1212

13-
#include <unicode/dtfmtsym.h>
14-
#include <unicode/smpdtfmt.h>
15-
#include <unicode/dtptngen.h>
16-
#include <unicode/locdspnm.h>
17-
1813
#define GREGORIAN_NAME "gregorian"
1914
#define JAPANESE_NAME "japanese"
2015
#define BUDDHIST_NAME "buddhist"

src/corefx/System.Globalization.Native/holders.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
#include "unicode/ucal.h"
7-
#include "unicode/uenum.h"
8-
#include "unicode/udatpg.h"
9-
#include "unicode/udat.h"
10-
#include "unicode/unum.h"
11-
#include "unicode/uldnames.h"
12-
#include "unicode/ures.h"
6+
#include <unicode/ucal.h>
7+
#include <unicode/uenum.h>
8+
#include <unicode/udatpg.h>
9+
#include <unicode/udat.h>
10+
#include <unicode/unum.h>
11+
#include <unicode/uldnames.h>
12+
#include <unicode/ures.h>
1313

1414
// IcuHolder is a template that can manage the lifetime of a raw pointer to ensure that it is cleaned up at the correct
1515
// time. The general usage pattern is to aquire some ICU resource via an _open call, then construct a holder using the

src/corefx/System.Globalization.Native/locale.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010

1111
#include "locale.hpp"
1212

13-
#include "unicode/dcfmtsym.h" //decimal
14-
#include "unicode/dtfmtsym.h" //date
15-
#include "unicode/localpointer.h"
16-
#include "unicode/ulocdata.h"
17-
1813
int32_t UErrorCodeToBool(UErrorCode status)
1914
{
2015
if (U_SUCCESS(status))

src/corefx/System.Globalization.Native/localeNumberData.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@
88
#include <string.h>
99
#include <vector>
1010

11+
#include <unicode/ulocdata.h>
12+
1113
#include "locale.hpp"
1214
#include "holders.h"
1315

14-
#include "unicode/calendar.h"
15-
#include "unicode/decimfmt.h"
16-
#include "unicode/localpointer.h"
17-
#include "unicode/numfmt.h"
18-
#include "unicode/ulocdata.h"
19-
2016
// invariant character definitions used by ICU
2117
#define UCHAR_CURRENCY ((UChar)0x00A4) // international currency
2218
#define UCHAR_SPACE ((UChar)0x0020) // space

src/corefx/System.Globalization.Native/localeStringData.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
#include "locale.hpp"
1212
#include "holders.h"
1313

14-
#include "unicode/dcfmtsym.h" //decimal symbols
15-
#include "unicode/dtfmtsym.h" //date symbols
16-
#include "unicode/smpdtfmt.h" //date format
17-
#include "unicode/localpointer.h"
18-
1914
// Enum that corresponds to managed enum CultureData.LocaleStringData.
2015
// The numeric values of the enum members match their Win32 counterparts.
2116
enum LocaleStringData : int32_t

0 commit comments

Comments
 (0)