diff options
Diffstat (limited to 'src/multilogdevice.cc')
-rw-r--r-- | src/multilogdevice.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/multilogdevice.cc b/src/multilogdevice.cc index ea567ff..7531797 100644 --- a/src/multilogdevice.cc +++ b/src/multilogdevice.cc @@ -20,14 +20,14 @@ using namespace Binc; MultilogDevice::MultilogDevice(int f) : IODevice(f) {} -MultilogDevice::~MultilogDevice(void) {} +MultilogDevice::~MultilogDevice() {} -std::string MultilogDevice::service(void) const +std::string MultilogDevice::service() const { return "log"; } -bool MultilogDevice::waitForWrite(void) const +bool MultilogDevice::waitForWrite() const { fd_set writeMask; FD_ZERO(&writeMask); @@ -46,12 +46,12 @@ bool MultilogDevice::waitForWrite(void) const return result > 0; } -bool MultilogDevice::waitForRead(void) const +bool MultilogDevice::waitForRead() const { return false; } -IODevice::WriteResult MultilogDevice::write(void) +IODevice::WriteResult MultilogDevice::write() { for (;;) { ssize_t wrote = ::write(fileno(stderr), @@ -75,7 +75,7 @@ IODevice::WriteResult MultilogDevice::write(void) } } -bool MultilogDevice::fillInputBuffer(void) +bool MultilogDevice::fillInputBuffer() { return false; } |