Replaced some c includes with their c++ wrappers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3584 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f2a604f820
commit
181c4a163b
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#include <pbd/stacktrace.h>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <cmath>
|
||||
#include <climits>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
#include <gtkmm/menu.h>
|
||||
#include <gtkmm/checkmenuitem.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#ifdef VST_SUPPORT
|
||||
#include <fst.h>
|
||||
#include <pbd/basename.h>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
#endif // VST_SUPPORT
|
||||
|
||||
#include <glibmm/miscutils.h>
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <ctype.h>
|
||||
#include <cctype>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdio> // so libraptor doesn't complain
|
||||
#include <cmath>
|
||||
#include <dirent.h>
|
||||
#include <string.h> // for memmove
|
||||
#include <cstring> // for memmove
|
||||
#include <sys/stat.h>
|
||||
#include <cerrno>
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <gtkmm2ext/fastmeter.h>
|
||||
#include <gtkmm2ext/utils.h>
|
||||
#include <gtkmm/style.h>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
#define UINT_TO_RGB(u,r,g,b) { (*(r)) = ((u)>>16)&0xff; (*(g)) = ((u)>>8)&0xff; (*(b)) = (u)&0xff; }
|
||||
#define UINT_TO_RGBA(u,r,g,b,a) { UINT_TO_RGB(((u)>>8),r,g,b); (*(a)) = (u)&0xff; }
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
|
||||
#include <pbd/base_ui.h>
|
||||
#include <pbd/error.h>
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
$Id$
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
#include <cctype>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
|
||||
#include <pbd/enumwriter.h>
|
||||
#include <pbd/error.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define _XOPEN_SOURCE 600
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <pbd/fpu.h>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifdef HAVE_EXECINFO
|
||||
|
||||
#include <execinfo.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
void
|
||||
PBD::stacktrace (std::ostream& out, int levels)
|
||||
|
|
|
@ -20,14 +20,13 @@
|
|||
#ifdef __APPLE__
|
||||
#include <sys/sysctl.h>
|
||||
#else /* !__APPLE__, !_WIN32 */
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#endif /* !__APPLE__, !_WIN32 */
|
||||
#endif /* !_WIN32 */
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
|
||||
namespace RubberBand {
|
||||
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <memory.h>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include "AAFilter.h"
|
||||
#include "FIRFilter.h"
|
||||
|
||||
|
|
|
@ -43,10 +43,10 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <memory.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <cstring>
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "FIFOSampleBuffer.h"
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
#ifndef FIFOSamplePipe_H
|
||||
#define FIFOSamplePipe_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include "STTypes.h"
|
||||
|
||||
namespace soundtouch
|
||||
|
|
|
@ -40,9 +40,9 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <memory.h>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
#include <stdexcept>
|
||||
#include "FIRFilter.h"
|
||||
#include "cpu_detect.h"
|
||||
|
|
|
@ -39,10 +39,10 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <memory.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <climits>
|
||||
#include "RateTransposer.h"
|
||||
#include "AAFilter.h"
|
||||
|
||||
|
|
|
@ -41,12 +41,12 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <memory.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
#include <climits>
|
||||
#include <cmath>
|
||||
#include <cassert>
|
||||
|
||||
#include "STTypes.h"
|
||||
#include "cpu_detect.h"
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
|
||||
#include <linux/input.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <cstring>
|
||||
#include <cerrno>
|
||||
#include <cstdio>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue