summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqcstring.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-09-24 17:03:23 +0200
committerSlávek Banko <[email protected]>2018-09-24 17:03:23 +0200
commitff63338d189a49a16b29a503ba23727cfa7e2e66 (patch)
treec6e82e67044286fe4471e97c8f079a2d205f979a /src/tools/ntqcstring.h
parent02964eb384e1b5a73a198d04262497607d81e38f (diff)
downloadtqt3-ff63338d189a49a16b29a503ba23727cfa7e2e66.tar.gz
tqt3-ff63338d189a49a16b29a503ba23727cfa7e2e66.zip
Always build with a clean namespace
QT_CLEAN_NAMESPACE constant is no more needed This may theoretically affect applications created for Qt1 and Qt2, but such applications require further modifications as well. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/tools/ntqcstring.h')
-rw-r--r--src/tools/ntqcstring.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/tools/ntqcstring.h b/src/tools/ntqcstring.h
index 0bcdffa59..e60e09693 100644
--- a/src/tools/ntqcstring.h
+++ b/src/tools/ntqcstring.h
@@ -81,20 +81,6 @@ Q_EXPORT int tqstricmp( const char *, const char * );
Q_EXPORT int tqstrnicmp( const char *, const char *, uint len );
-#ifndef QT_CLEAN_NAMESPACE
-Q_EXPORT inline uint cstrlen( const char *str )
-{ return (uint)strlen(str); }
-
-Q_EXPORT inline char *cstrcpy( char *dst, const char *src )
-{ return strcpy(dst,src); }
-
-Q_EXPORT inline int cstrcmp( const char *str1, const char *str2 )
-{ return strcmp(str1,str2); }
-
-Q_EXPORT inline int cstrncmp( const char *str1, const char *str2, uint len )
-{ return strncmp(str1,str2,len); }
-#endif
-
// tqChecksum: Internet checksum