1
0
Fork 0
forked from len0rd/rockbox

Remove explicit config.h and system.h includes from DSP code.

Replace with rbcodecconfig.h and platform.h includes. Remove now-
unneeded ones as well.

Change-Id: I6111b71e90bf86d9fe272a7916f2d34a5c6dd724
This commit is contained in:
Michael Sevakis 2013-05-27 03:23:33 -04:00
parent 30fe6eb66c
commit b5a6517e9d
16 changed files with 34 additions and 31 deletions

View file

@ -31,6 +31,16 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
#ifndef BIT_N
# define BIT_N(n) (1U << (n))
#endif
#ifndef MASK_N
/* Make a mask of n contiguous bits, shifted left by 'shift' */
# define MASK_N(type, n, shift) \
((type)((((type)1 << (n)) - (type)1) << (shift)))
#endif
#ifndef INIT_ATTR
# define INIT_ATTR
#endif
/*
#ifdef CODEC
@ -115,4 +125,6 @@ static inline int32_t clip_sample_16(int32_t sample)
}
#endif
*/
int find_first_set_bit(uint32_t value);
#endif /* PLATFORM_H_INCLUDED */