summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorJos Backus <jos@samba.org>2002-12-24 07:42:04 +0000
committerJos Backus <jos@samba.org>2002-12-24 07:42:04 +0000
commit1e34e4b7cdbf413e7e82d4877f9354144172e709 (patch)
treefd88bff7df723e69188ce963175d92a0547d459f /log.c
parent06464f55e26e1f26e10c04f4a11a4d85fadbd5f7 (diff)
downloadrsync-1e34e4b7cdbf413e7e82d4877f9354144172e709.tar.gz
rsync-1e34e4b7cdbf413e7e82d4877f9354144172e709.tar.bz2
rsync-1e34e4b7cdbf413e7e82d4877f9354144172e709.zip
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
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
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);