Commit 1e34e4b7 authored by Jos Backus's avatar Jos Backus

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
parent 06464f55
......@@ -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;
......
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment