Skip to content

Commit

Permalink
Remove "inline" declarations for clang compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed May 14, 2014
1 parent 7986492 commit d07c1cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions impulses/all.h
Expand Up @@ -24,7 +24,11 @@
#include "impulses/20-matchless-chieftain-sm57.h"
#include "impulses/21-matchless-chieftain-sm57-off.h"

#ifdef __clang__
void mk_imps(fftw_real **impulse_freq)
#else
inline void mk_imps(fftw_real **impulse_freq)
#endif
{
int c = 0;
MK_IMP(unit);
Expand Down
4 changes: 4 additions & 0 deletions sifter_1210.xml
Expand Up @@ -13,7 +13,11 @@
inline int partition(LADSPA_Data array[], int left, int right);
#ifdef __clang__
void q_sort(LADSPA_Data array[], int left, int right) {
#else
inline void q_sort(LADSPA_Data array[], int left, int right) {
#endif
float pivot = partition(array, left, right);
if (left < pivot) {
Expand Down

0 comments on commit d07c1cb

Please sign in to comment.