summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-12 23:53:31 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-12 23:53:31 +0300
commit76989cf55c016a9d8619f582f753444241a4d934 (patch)
tree51a09b9e3466647e4386ab24f3c9aa89ff7a93b9 /extra
parenta53e8ea0ac4f7d53297b7942febf04e02d8c3b54 (diff)
downloadmariadb-git-76989cf55c016a9d8619f582f753444241a4d934.tar.gz
OS2 patch
Docs/manual.texi: Updated section of how to change the socket file. Changelog for 3.23.43 include/merge.h: Fixed typo include/my_pthread.h: Fixed bug for WIN32 include/myisam.h: Fixed typo include/nisam.h: Fixed typo sql/handler.h: Fixed typo sql/sql_table.cc: Fixed typo sql/unireg.cc: F
Diffstat (limited to 'extra')
-rw-r--r--extra/comp_err.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 198bdffb0db..f7b68ff0891 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -119,9 +119,7 @@ int main(int argc,char *argv[])
/* Read options */
-static void get_options(argc,argv)
-register int *argc;
-register char **argv[];
+static void get_options(register int *argc,register char **argv[])
{
int help=0;
char *pos,*progname;
@@ -163,9 +161,7 @@ register char **argv[];
/* Count rows in from-file until row that start with char is found */
-static int count_rows(from,c,c2)
-FILE *from;
-pchar c,c2;
+static int count_rows(FILE *from, pchar c, pchar c2)
{
int count;
long pos;
@@ -189,9 +185,7 @@ pchar c,c2;
/* Read rows and remember them until row that start with char */
/* Converts row as a C-compiler would convert a textstring */
-static int remember_rows(from,c)
-FILE *from;
-pchar c;
+static int remember_rows(FILE* from, pchar c)
{
int i,nr,start_count,found_end;
char row[MAXLENGTH],*pos;
@@ -253,8 +247,7 @@ pchar c;
/* Copy rows from memory to file and remember position */
-static int copy_rows(to)
-FILE *to;
+static int copy_rows(FILE *to)
{
int row_nr;
long start_pos;