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
This commit is contained in:
Jos Backus committed 2002-12-24 07:42:04 +00:00
1 parent 06464f55e2
commit 1e34e4b7cd
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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);