From 8039ffe36fe90a0b99ae21f10c53ba38c2d6b434 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Thu, 28 Jun 2018 04:24:28 +0100 Subject: [PATCH] dtsr: Change to ANSI function definitions --- cde/programs/dtsr/dtsrhan.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cde/programs/dtsr/dtsrhan.c b/cde/programs/dtsr/dtsrhan.c index adc06832..61fb4dde 100644 --- a/cde/programs/dtsr/dtsrhan.c +++ b/cde/programs/dtsr/dtsrhan.c @@ -329,7 +329,7 @@ int validate_id (char *s) OPEN_OUTFILE - open outputfile - if the file already exists, and no mode was specified by the user, ask the user what to do. ****************************************************************/ -void open_outfile () +void open_outfile (void) { FILE *temp; int i; @@ -552,7 +552,7 @@ int token (char *s) /*********************************************************************** PROCESS_PROFILE - process 'profile' file. ************************************************************************/ -void process_profile () +void process_profile (void) { FILE *prof; char prof_line[200]; @@ -1572,7 +1572,7 @@ END_DATE_TABLE: /********************************************************************** CLEANUP - frees memory used by record ***********************************************************************/ -void cleanup () +void cleanup (void) { struct line_id *line_current; struct field_id *field_current; @@ -1606,7 +1606,7 @@ void cleanup () WRITE_RECORD - writes the final form of the record - key, fzkey, abstract, and image. **************************************************************************/ -void write_record () +void write_record (void) { static int dotcount = 0; char *ptr; @@ -2046,7 +2046,7 @@ try and identify each line. Then fields are processed against these lines, and finally fzk processing can begin on any lines that are indicated being important. ***************************************************************************/ -void process_infile () +void process_infile (void) { int line_num = 0; struct line_id *line_current; -- 2.25.1