diff options
Diffstat (limited to 'dep/mysqllite/strings/strend.c')
-rw-r--r-- | dep/mysqllite/strings/strend.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dep/mysqllite/strings/strend.c b/dep/mysqllite/strings/strend.c index 4dadf0675dc..d70a5d648d5 100644 --- a/dep/mysqllite/strings/strend.c +++ b/dep/mysqllite/strings/strend.c @@ -24,27 +24,14 @@ is, strend(s)-s == strlen(s). This is useful for adding things at the end of strings. It is redundant, because strchr(s,'\0') could be used instead, but this is clearer and faster. - Beware: the asm version works only if strlen(s) < 65535. */ #include <my_global.h> #include "m_string.h" -#if VaxAsm - -char *strend(s) -const char *s; -{ - asm("locc $0,$65535,*4(ap)"); - asm("movl r1,r0"); -} - -#else /* ~VaxAsm */ - char *strend(register const char *s) { while (*s++); return (char*) (s-1); } -#endif /* VaxAsm */ |