diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:17:14 -0300 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-07-23 17:17:14 -0300 |
commit | 507ca08ff6a731c811a82869f85ba5166e8a9df1 (patch) | |
tree | d634717d00e7631767edfde544c80bee53197f21 /strings/strings-x86.s | |
parent | 75e22123972f3404cd384839695c9e7b0165565f (diff) | |
download | mariadb-git-507ca08ff6a731c811a82869f85ba5166e8a9df1.tar.gz |
WL#5498: Remove dead and unused source code
Remove unused string functions.
include/m_string.h:
Remove prototypes for unused string functions and for functions
that do not exist anymore.
Diffstat (limited to 'strings/strings-x86.s')
-rw-r--r-- | strings/strings-x86.s | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/strings/strings-x86.s b/strings/strings-x86.s index db7bb0c1274..4872c566685 100644 --- a/strings/strings-x86.s +++ b/strings/strings-x86.s @@ -281,29 +281,6 @@ sf_fo: movl %edx,%eax # Char found here .strstr_end: .size strstr,.strstr_end-strstr - - # Find a substring in string, return index - # Arg: str,search - -.globl strinstr - .type strinstr,@function - -strinstr: - pushl %ebp - movl %esp,%ebp - pushl 12(%ebp) # search - pushl 8(%ebp) # str - call strstr - add $8,%esp - or %eax,%eax - jz si_99 # Not found, return NULL - sub 8(%ebp),%eax # Pos from start - inc %eax # And first pos = 1 -si_99: popl %ebp - ret -.strinstr_end: - .size strinstr,.strinstr_end-strinstr - # Make a string of len length from another string # Arg: dst,src,length # ret: end of dst |