From ee7e00dc580c4e8075ab0776aeb3526c2c22f2b6 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 14 Feb 2019 15:07:36 +0000 Subject: win32: add a function to remove CRs from a text buffer --- include/mingw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mingw.h b/include/mingw.h index 4655fe511..185eb66ed 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -500,7 +500,8 @@ static inline char *auto_win32_extension(const char *p) return s ? auto_string(s) : NULL; } -void FAST_FUNC convert_slashes(char *p); +void convert_slashes(char *p) FAST_FUNC; +size_t remove_cr(char *p, size_t len) FAST_FUNC; int err_win_to_posix(DWORD winerr); -- cgit v1.2.3-55-g6feb