summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-08-31 10:20:19 +0300
committerunknown <monty@hundin.mysql.fi>2001-08-31 10:20:19 +0300
commit308839fedd64bd79188a4d905912cd705944bb2a (patch)
tree5bc7524a46b09c098917ae48d4415bc71a437520 /myisam
parent83c86c854a1b40bfe46e0464de63e97a75a9b030 (diff)
downloadmariadb-git-308839fedd64bd79188a4d905912cd705944bb2a.tar.gz
Portability fixes
Diffstat (limited to 'myisam')
-rw-r--r--myisam/ft_eval.c4
-rw-r--r--myisam/ft_eval.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/myisam/ft_eval.c b/myisam/ft_eval.c
index 845b56a7fed..9466104100a 100644
--- a/myisam/ft_eval.c
+++ b/myisam/ft_eval.c
@@ -112,7 +112,7 @@ err:
}
-void get_options(int argc,char *argv[])
+static void get_options(int argc,char *argv[])
{
int c;
char *options=(char*) "Vh#:qSs:";
@@ -167,7 +167,7 @@ void get_options(int argc,char *argv[])
return;
} /* get options */
-int create_record(char *pos, FILE *file)
+static int create_record(char *pos, FILE *file)
{ uint tmp; char *ptr;
bzero((char *)pos,MAX_REC_LENGTH);
diff --git a/myisam/ft_eval.h b/myisam/ft_eval.h
index 5d7f41ab04d..d87b6be9c7c 100644
--- a/myisam/ft_eval.h
+++ b/myisam/ft_eval.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
+/* Copyright (C) 2000 MySQL AB & Sergei A. Golubchik
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -35,9 +35,6 @@ MI_COLUMNDEF recinfo[3];
MI_KEYDEF keyinfo[2];
MI_KEYSEG keyseg[10];
-void get_options(int argc,char *argv[]);
-int create_record(char *, FILE *);
-
#define SWL_INIT 500
#define SWL_PLUS 50