diff options
author | monty@work.mysql.com <> | 2001-09-13 09:52:35 +0200 |
---|---|---|
committer | monty@work.mysql.com <> | 2001-09-13 09:52:35 +0200 |
commit | 18474d84196f937a9a0bca49d8a822d3e48bf298 (patch) | |
tree | 1fb0fbca5b7a4edebe2c26a5ed0b272e92bc21f2 /extra | |
parent | 08df09230f26ec86e61d3297314343ee65092359 (diff) | |
parent | c946439d6c8d402a0a1a2a6520760dab16648c21 (diff) | |
download | mariadb-git-18474d84196f937a9a0bca49d8a822d3e48bf298.tar.gz |
Merge with 3.23.42
Diffstat (limited to 'extra')
-rw-r--r-- | extra/comp_err.c | 15 |
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; |