diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-04-24 17:32:34 -0400 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-04-25 10:38:06 -0400 |
commit | 5517d3e4e657354696503e876c023bc1dd6ef549 (patch) | |
tree | cb4210721772aee720828d2666e81c5fc595101d /src/controllers/bulk/bulkcontroller.cpp | |
parent | 93bd3fe48794d3908f3937bdf3edbfcb21b3039e (diff) |
Refactor use of math and other headers across the codebase.
* Delete mathstuff.h and defs.h.
* Move typedefs into util/types.h.
* Move definitions into util/defs.h.
* Use std::min and std::max for math_min and math_max.
* Replace math_clamp with a template function to prevent repeated sub-expressions.
* Add a Result enum for SoundSource::open() and SoundSource::parseHeader().
* Misc. other header-related cleanups.
Diffstat (limited to 'src/controllers/bulk/bulkcontroller.cpp')
-rw-r--r-- | src/controllers/bulk/bulkcontroller.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/controllers/bulk/bulkcontroller.cpp b/src/controllers/bulk/bulkcontroller.cpp index 78f3d23812..c611fd25a8 100644 --- a/src/controllers/bulk/bulkcontroller.cpp +++ b/src/controllers/bulk/bulkcontroller.cpp @@ -5,8 +5,6 @@ * @brief USB Bulk controller backend * */ -#include <time.h> -#include <stdio.h> #include <libusb.h> #include "controllers/bulk/bulkcontroller.h" |