From 5f7162363ca566158a7347d56a12309d137545b0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 23 Jul 2002 20:56:16 +0000 Subject: [PATCH] Removed non-exported string functions. --- dlls/msvcrt/string.c | 56 -------------------------------------------- 1 file changed, 56 deletions(-) diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index 4f8809a2f3c..8bb9be83590 100644 --- a/dlls/msvcrt/string.c +++ b/dlls/msvcrt/string.c @@ -46,18 +46,6 @@ char* msvcrt_strndup(const char* buf, unsigned int size) return ret; } -/********************************************************************* - * _strdec (MSVCRT.@) - */ -char* _strdec(const char* str1, const char* str2) -{ - /* Hmm. While the docs suggest that the following should work... */ - /* return (str2<=str1?0:str2-1); */ - /* ...Version 2.50.4170 (NT) from win98 constantly decrements! */ - str1 = str1; /* remove warning */ - return (char *)str2-1; -} - /********************************************************************* * _mbsdup (MSVCRT.@) * _strdup (MSVCRT.@) @@ -69,32 +57,6 @@ char* _strdup(const char* str) return ret; } -/********************************************************************* - * _strinc (MSVCRT.@) - */ -char* _strinc(const char* str) -{ - return (char*)str+1; -} - -/********************************************************************* - * _strnextc (MSVCRT.@) - */ -unsigned int _strnextc(const char* str) -{ - return (unsigned int)*str; -} - -/********************************************************************* - * _strninc (MSVCRT.@) - * - * Return a pointer to the 'n'th character in a string - */ -char* _strninc(char* str, unsigned int n) -{ - return str + n; -} - /********************************************************************* * _strnset (MSVCRT.@) */ @@ -137,24 +99,6 @@ char* _strset(char* str, int value) return str; } -/********************************************************************* - * _strncnt (MSVCRT.@) - */ -unsigned int _strncnt(char* str, unsigned int max) -{ - unsigned int len = strlen(str); - return (len > max? max : len); -} - -/********************************************************************* - * _strspnp (MSVCRT.@) - */ -char* _strspnp(char* str1, char* str2) -{ - str1 += strspn(str1,str2); - return *str1? str1 : 0; -} - /********************************************************************* * _swab (MSVCRT.@) */