summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-05-06 16:33:10 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-05-06 16:33:10 +0200
commit286cddccfd9d69f4bc567fc9f00898f06315cd30 (patch)
tree22ea704d16653483a972d8b16e0c8724c3d28828 /src
parenta1f4e968563763435027a905be8349cda1974e00 (diff)
Get rid of unused unistd includes. Change the rest of the sleep calls to c++.
Diffstat (limited to 'src')
-rw-r--r--src/audiofile.cc5
-rw-r--r--src/configfile.cc1
-rw-r--r--src/sample.cc3
3 files changed, 0 insertions, 9 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc
index 3fe854b..e274e61 100644
--- a/src/audiofile.cc
+++ b/src/audiofile.cc
@@ -29,11 +29,6 @@
#include "audiofile.h"
#include <cassert>
-
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
-
#include <sndfile.h>
#include <config.h>
diff --git a/src/configfile.cc b/src/configfile.cc
index 71496a0..731d3aa 100644
--- a/src/configfile.cc
+++ b/src/configfile.cc
@@ -30,7 +30,6 @@
#include <errno.h>
#include <string.h>
#include <stdlib.h>
-#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/sample.cc b/src/sample.cc
index ced8a47..9d28a17 100644
--- a/src/sample.cc
+++ b/src/sample.cc
@@ -26,9 +26,6 @@
*/
#include "sample.h"
-#include <stdlib.h>
-#include <unistd.h>
-
#include <sndfile.h>
Sample::Sample(const std::string& name, float power)