summaryrefslogtreecommitdiff
path: root/src/syslogdevice.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/syslogdevice.cc')
-rw-r--r--src/syslogdevice.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/syslogdevice.cc b/src/syslogdevice.cc
index 49162a4..f5ec42f 100644
--- a/src/syslogdevice.cc
+++ b/src/syslogdevice.cc
@@ -26,27 +26,27 @@ SyslogDevice::SyslogDevice(int f, const char *i, int o, int fa)
openlog(ident.c_str(), option, facility);
}
-SyslogDevice::~SyslogDevice(void)
+SyslogDevice::~SyslogDevice()
{
closelog();
}
-string SyslogDevice::service(void) const
+string SyslogDevice::service() const
{
return "log";
}
-bool SyslogDevice::waitForWrite(void) const
+bool SyslogDevice::waitForWrite() const
{
return true;
}
-bool SyslogDevice::waitForRead(void) const
+bool SyslogDevice::waitForRead() const
{
return false;
}
-IODevice::WriteResult SyslogDevice::write(void)
+IODevice::WriteResult SyslogDevice::write()
{
string out;
string::const_iterator i = outputBuffer.str().begin();
@@ -67,7 +67,7 @@ IODevice::WriteResult SyslogDevice::write(void)
return WriteDone;
}
-bool SyslogDevice::fillInputBuffer(void)
+bool SyslogDevice::fillInputBuffer()
{
return false;
}