summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2006-01-16 15:17:45 +0100
committerunknown <serg@serg.mylan>2006-01-16 15:17:45 +0100
commit048754ff462506f30bc7b3e71a1e7e43370f5ab0 (patch)
treef0c2b643c0bd985fb300cafbb719b76d8b6ef867 /plugin
parentebf577974ed8772ea14b45a524ae158a00172260 (diff)
downloadmariadb-git-048754ff462506f30bc7b3e71a1e7e43370f5ab0.tar.gz
only use "public" types in plugin API
include/plugin.h: only use "public" types in plugin API: s/uint/unsigned int/ or s/uint/int/ s/bool/char/ s/byte/char/ s/CHARSET_INFO */struct charset_info_st */
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fulltext/plugin_example.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugin/fulltext/plugin_example.c b/plugin/fulltext/plugin_example.c
index 269c58e8b40..84dc58e99a6 100644
--- a/plugin/fulltext/plugin_example.c
+++ b/plugin/fulltext/plugin_example.c
@@ -13,9 +13,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#include <my_global.h>
-#include <m_string.h>
-#include <m_ctype.h>
+#include <stdlib.h>
+#include <ctype.h>
#include <plugin.h>
long number_of_calls= 0; /* for SHOW STATUS, see below */
@@ -181,7 +180,7 @@ int simple_parser_parse(MYSQL_FTPARSER_PARAM *param)
add_word(param, start, end - start);
break;
}
- else if (my_isspace(param->cs, *end))
+ else if (isspace(*end))
{
if (end > start)
add_word(param, start, end - start);