Portability fixes

This commit is contained in:
unknown 2001-08-31 10:20:19 +03:00
parent 83c86c854a
commit 308839fedd
2 changed files with 3 additions and 6 deletions

View File

@ -112,7 +112,7 @@ err:
} }
void get_options(int argc,char *argv[]) static void get_options(int argc,char *argv[])
{ {
int c; int c;
char *options=(char*) "Vh#:qSs:"; char *options=(char*) "Vh#:qSs:";
@ -167,7 +167,7 @@ void get_options(int argc,char *argv[])
return; return;
} /* get options */ } /* get options */
int create_record(char *pos, FILE *file) static int create_record(char *pos, FILE *file)
{ uint tmp; char *ptr; { uint tmp; char *ptr;
bzero((char *)pos,MAX_REC_LENGTH); bzero((char *)pos,MAX_REC_LENGTH);

View File

@ -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 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 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_KEYDEF keyinfo[2];
MI_KEYSEG keyseg[10]; MI_KEYSEG keyseg[10];
void get_options(int argc,char *argv[]);
int create_record(char *, FILE *);
#define SWL_INIT 500 #define SWL_INIT 500
#define SWL_PLUS 50 #define SWL_PLUS 50