From 1e34e4b7cdbf413e7e82d4877f9354144172e709 Mon Sep 17 00:00:00 2001 From: Jos Backus Date: Tue, 24 Dec 2002 07:42:04 +0000 Subject: [PATCH] Add "void" to some function definitions so that all declarations in proto.h have full parameter lists. This helps unbreaking compilation on SCO UNIXWare. Submitted by: Stephen Friedl --- batch.c | 2 +- flist.c | 2 +- log.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/batch.c b/batch.c index 8c78ab6a..d3f65233 100644 --- a/batch.c +++ b/batch.c @@ -264,7 +264,7 @@ int read_batch_flist_file(char *buff, int len) return bytes_read; } -unsigned char read_batch_flags() +unsigned char read_batch_flags(void) { int flags; diff --git a/flist.c b/flist.c index 922db461..93148e6e 100644 --- a/flist.c +++ b/flist.c @@ -1197,7 +1197,7 @@ void free_file(struct file_struct *file) /* * allocate a new file list */ -struct file_list *flist_new() +struct file_list *flist_new(void) { struct file_list *flist; diff --git a/log.c b/log.c index ade21ebd..721188a7 100644 --- a/log.c +++ b/log.c @@ -184,7 +184,7 @@ void log_init(void) #endif } -void log_open() +void log_open(void) { if (logfname && !logfile) { extern int orig_umask; @@ -194,7 +194,7 @@ void log_open() } } -void log_close() +void log_close(void) { if (logfile) { fclose(logfile); -- 2.34.1