From 1d5dcc52c7a2661bbda732c98c511f4e6f2ce6f8 Mon Sep 17 00:00:00 2001 From: Mike McLaughlin Date: Mon, 31 Aug 2015 13:24:29 -0700 Subject: [PATCH] Fix the build break caused by my recent xplat SOS changes. [tfs-changeset: 1520601] --- src/inc/formattype.cpp | 8 ++++---- src/inc/formattype.h | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/inc/formattype.cpp b/src/inc/formattype.cpp index e7d1394..05b4c86 100644 --- a/src/inc/formattype.cpp +++ b/src/inc/formattype.cpp @@ -11,7 +11,7 @@ #include "formattype.h" /******************************************************************************/ -static char* asString(CQuickBytes *out) { +char* asString(CQuickBytes *out) { CONTRACTL { THROWS; @@ -27,7 +27,7 @@ static char* asString(CQuickBytes *out) { return((char*) out->Ptr()); } -static void appendStr(CQuickBytes *out, const char* str, unsigned len=(unsigned)-1) { +void appendStr(CQuickBytes *out, const char* str, unsigned len) { CONTRACTL { THROWS; @@ -43,7 +43,7 @@ static void appendStr(CQuickBytes *out, const char* str, unsigned len=(unsigned) // Note no trailing null! } -static void appendChar(CQuickBytes *out, char chr) { +void appendChar(CQuickBytes *out, char chr) { CONTRACTL { THROWS; @@ -57,7 +57,7 @@ static void appendChar(CQuickBytes *out, char chr) { // Note no trailing null! } -static void insertStr(CQuickBytes *out, const char* str) { +void insertStr(CQuickBytes *out, const char* str) { CONTRACTL { THROWS; diff --git a/src/inc/formattype.h b/src/inc/formattype.h index 8f009c6..739bc89 100644 --- a/src/inc/formattype.h +++ b/src/inc/formattype.h @@ -31,6 +31,10 @@ char* DumpParamAttr(__inout_ecount(cchszString) char* szString, DWORD cchszString, DWORD dwAttr); +void appendStr(CQuickBytes *out, const char* str, unsigned len=(unsigned)-1); +void insertStr(CQuickBytes *out, const char* str); +char* asString(CQuickBytes *out); + const char* PrettyPrintSig( PCCOR_SIGNATURE typePtr, // type to convert, unsigned typeLen, // the lenght of 'typePtr' -- 2.7.4