aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/DccVoiceWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dcc/DccVoiceWindow.cpp')
-rw-r--r--src/modules/dcc/DccVoiceWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/dcc/DccVoiceWindow.cpp b/src/modules/dcc/DccVoiceWindow.cpp
index be04e9e83..279823727 100644
--- a/src/modules/dcc/DccVoiceWindow.cpp
+++ b/src/modules/dcc/DccVoiceWindow.cpp
@@ -49,7 +49,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
-#include <errno.h>
+#include <cerrno>
#include <fcntl.h>
#include <sys/stat.h> // for open()
#include <sys/ioctl.h> // for ioctl()
@@ -1014,7 +1014,7 @@ void DccVoiceWindow::startOrStopTalking(bool bStart)
stopTalking();
}
-int DccVoiceWindow::getMixerVolume(void) const
+int DccVoiceWindow::getMixerVolume() const
{
#ifndef COMPILE_DISABLE_DCC_VOICE
int fd;