From 7e3dcd91f5d1e75325183467e59886b892f457e1 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Tue, 30 Dec 2008 13:13:34 +0000 Subject: Remove compatibility #defines in string_util.h Review URL: http://codereview.chromium.org/17014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7499 0039d316-1c4b-4281-b951-d872f2087c98 --- base/string_util.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'base') diff --git a/base/string_util.h b/base/string_util.h index 1c936b7..601d1d8 100644 --- a/base/string_util.h +++ b/base/string_util.h @@ -105,15 +105,6 @@ bool IsWprintfFormatPortable(const wchar_t* format); #error Define string operations appropriately for your platform #endif -// Old names for the above string functions, kept for compatibility. -// TODO(evanm): excise all references to these old names. -#define StrNCaseCmp base::strncasecmp -#define SWPrintF base::swprintf -#define VSNPrintF base::vsnprintf -#define SNPrintF base::snprintf -#define SWPrintF base::swprintf - - // Returns a reference to a globally unique empty string that functions can // return. Use this to avoid static construction of strings, not to replace // any and all uses of "std::string()" as nicer-looking sugar. -- cgit v1.1