summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-05-27 23:21:49 +0300
committermonty@hundin.mysql.fi <>2002-05-27 23:21:49 +0300
commit6d0e43c73bf32e2fbd02d5d44a82f5f3489fcbb7 (patch)
treeb7628f15dd6175cb82488a180b631949318cbbf9 /mysys
parent07886933b84986178b6fb9c15f2a8efda13144f0 (diff)
downloadmariadb-git-6d0e43c73bf32e2fbd02d5d44a82f5f3489fcbb7.tar.gz
Renamed stripp_sp -> strip_sp
Remove end space from ENUM and SET strings
Diffstat (limited to 'mysys')
-rw-r--r--mysys/Makefile.am2
-rw-r--r--mysys/mf_strip.c (renamed from mysys/mf_stripp.c)6
2 files changed, 4 insertions, 4 deletions
diff --git a/mysys/Makefile.am b/mysys/Makefile.am
index 824c5722aa6..0d193b7a035 100644
--- a/mysys/Makefile.am
+++ b/mysys/Makefile.am
@@ -35,7 +35,7 @@ libmysys_a_SOURCES = my_init.c my_getwd.c mf_getdate.c\
my_error.c errors.c my_div.c my_messnc.c \
mf_format.c mf_same.c mf_dirname.c mf_fn_ext.c \
my_symlink.c my_symlink2.c \
- mf_pack.c mf_pack2.c mf_unixpath.c mf_stripp.c \
+ mf_pack.c mf_pack2.c mf_unixpath.c mf_strip.c \
mf_casecnv.c mf_soundex.c mf_wcomp.c mf_wfile.c \
mf_qsort.c mf_qsort2.c mf_sort.c \
ptr_cmp.c mf_radix.c queues.c \
diff --git a/mysys/mf_stripp.c b/mysys/mf_strip.c
index 6ebdce4cff6..682c9c32cb0 100644
--- a/mysys/mf_stripp.c
+++ b/mysys/mf_strip.c
@@ -20,11 +20,11 @@
#include "mysys_priv.h"
/*
- stripp_sp(my_string str)
+ strip_sp(my_string str)
Strips end-space from string and returns new length.
*/
-size_s stripp_sp(register my_string str)
+size_s strip_sp(register my_string str)
{
reg2 my_string found;
reg3 my_string start;
@@ -44,4 +44,4 @@ size_s stripp_sp(register my_string str)
}
*found= '\0'; /* Stripp at first space */
return (size_s) (found-start);
-} /* stripp_sp */
+} /* strip_sp */