1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtsr: Change to ANSI function definitions

This commit is contained in:
Peter Howkins 2018-06-28 04:24:28 +01:00
parent 75ea917380
commit 8039ffe36f

View file

@ -329,7 +329,7 @@ int validate_id (char *s)
OPEN_OUTFILE - open outputfile - if the file already exists, OPEN_OUTFILE - open outputfile - if the file already exists,
and no mode was specified by the user, ask the user what to do. and no mode was specified by the user, ask the user what to do.
****************************************************************/ ****************************************************************/
void open_outfile () void open_outfile (void)
{ {
FILE *temp; FILE *temp;
int i; int i;
@ -552,7 +552,7 @@ int token (char *s)
/*********************************************************************** /***********************************************************************
PROCESS_PROFILE - process 'profile' file. PROCESS_PROFILE - process 'profile' file.
************************************************************************/ ************************************************************************/
void process_profile () void process_profile (void)
{ {
FILE *prof; FILE *prof;
char prof_line[200]; char prof_line[200];
@ -1572,7 +1572,7 @@ END_DATE_TABLE:
/********************************************************************** /**********************************************************************
CLEANUP - frees memory used by record CLEANUP - frees memory used by record
***********************************************************************/ ***********************************************************************/
void cleanup () void cleanup (void)
{ {
struct line_id *line_current; struct line_id *line_current;
struct field_id *field_current; struct field_id *field_current;
@ -1606,7 +1606,7 @@ void cleanup ()
WRITE_RECORD - writes the final form of the record - key, fzkey, abstract, WRITE_RECORD - writes the final form of the record - key, fzkey, abstract,
and image. and image.
**************************************************************************/ **************************************************************************/
void write_record () void write_record (void)
{ {
static int dotcount = 0; static int dotcount = 0;
char *ptr; 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 and finally fzk processing can begin on any lines that are indicated being
important. important.
***************************************************************************/ ***************************************************************************/
void process_infile () void process_infile (void)
{ {
int line_num = 0; int line_num = 0;
struct line_id *line_current; struct line_id *line_current;