summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2018-03-10 01:12:14 +0100
committerGitHub <noreply@github.com>2018-03-10 01:12:14 +0100
commit57b215fc758737f55a7062cab277154c5b9626d4 (patch)
tree937bda4ff294551f0eb17e84e01cc99aa73f8036 /src/inc
parentc3aef92c137658cebb111da6c856ab653316fb0a (diff)
downloadcoreclr-57b215fc758737f55a7062cab277154c5b9626d4.tar.gz
coreclr-57b215fc758737f55a7062cab277154c5b9626d4.tar.bz2
coreclr-57b215fc758737f55a7062cab277154c5b9626d4.zip
Fix build with Clang 6.0 and enable build with Clang 5.0 (#16855)
* Fix build with Clang 6.0 * Add support for clang 5.0 too
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/utilcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inc/utilcode.h b/src/inc/utilcode.h
index d7676cb86a..9226d682e2 100644
--- a/src/inc/utilcode.h
+++ b/src/inc/utilcode.h
@@ -1106,7 +1106,7 @@ inline HRESULT DecimalCanonicalize(DECIMAL* dec)
//
//*****************************************************************************
// secure version! Specify the size of the each buffer in count of elements
-void SplitPath(register const WCHAR *path,
+void SplitPath(const WCHAR *path,
__inout_z __inout_ecount_opt(driveSizeInWords) WCHAR *drive, int driveSizeInWords,
__inout_z __inout_ecount_opt(dirSizeInWords) WCHAR *dir, int dirSizeInWords,
__inout_z __inout_ecount_opt(fnameSizeInWords) WCHAR *fname, size_t fnameSizeInWords,