diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-10 22:27:45 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-10 22:27:45 +0200 |
commit | e96321af67185460f917846b6f55f96d108c6ba8 (patch) | |
tree | f02c882c1fe867a614eb82fd2a595d82729a6d84 /src/syslogdevice.cc | |
parent | e662cb9875e974bd22a09f164fad41626aa26206 (diff) |
remove unnecessary void in empty function declarations
Diffstat (limited to 'src/syslogdevice.cc')
-rw-r--r-- | src/syslogdevice.cc | 12 |
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; } |