summaryrefslogtreecommitdiffstats
path: root/src/kvilib/core/kvi_strasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/core/kvi_strasm.h')
-rw-r--r--src/kvilib/core/kvi_strasm.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kvilib/core/kvi_strasm.h b/src/kvilib/core/kvi_strasm.h
index 5d3b19ca..11e3b2df 100644
--- a/src/kvilib/core/kvi_strasm.h
+++ b/src/kvilib/core/kvi_strasm.h
@@ -39,7 +39,7 @@ extern inline bool kvi_strEqualCS(const char * str1,const char * str2)
// When inlining, GCC can optimize to load esi and edi
// directly with the strings , without pushing and getting it
// from the stack...
- register bool eax;
+ bool eax;
__asm__ __volatile__ (
" cld\n"
"1:\n"
@@ -61,7 +61,7 @@ extern inline bool kvi_strEqualCS(const char * str1,const char * str2)
extern inline bool kvi_strEqualCSN(const char * str1,const char * str2,int len)
{
- register bool eax;
+ bool eax;
__asm__ __volatile__ (
"1:\n"
" decl %3\n"
@@ -99,8 +99,8 @@ extern inline bool kvi_strEqualNoLocaleCI(const char *str1,const char *str2)
// Trivial implementation
// Ignores completely locales....only A-Z chars are transformed to a-z
// Anyway...it will work for IRC :)
- register int reg;
- register bool eax;
+ int reg;
+ bool eax;
__asm__ __volatile__ (
"1:\n"
" movb (%2),%%al\n"
@@ -137,8 +137,8 @@ extern inline bool kvi_strEqualNoLocaleCI(const char *str1,const char *str2)
extern inline bool kvi_strEqualNoLocaleCIN(const char *str1,const char *str2,int len)
{
- register int reg;
- register bool eax;
+ int reg;
+ bool eax;
__asm__ __volatile__ (
"1:\n"
" decl %4\n"
@@ -178,7 +178,7 @@ extern inline bool kvi_strEqualNoLocaleCIN(const char *str1,const char *str2,int
extern inline int kvi_strLen(const char * str)
{
- register int ecx;
+ int ecx;
__asm__ __volatile__(
" cld\n"
" repne\n"