mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
remove '__inline' stuff and take normal 'inline' instead
Original commit message from CVS: remove '__inline' stuff and take normal 'inline' instead
This commit is contained in:
parent
f4e4c4b31e
commit
f3e0b84064
1 changed files with 2 additions and 6 deletions
|
@ -16,10 +16,6 @@
|
||||||
typedef const BYTE * LPCBYTE;
|
typedef const BYTE * LPCBYTE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __inline
|
|
||||||
#define __inline
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MOD_AMIGAC2 0x1AB
|
#define MOD_AMIGAC2 0x1AB
|
||||||
#define MAX_SAMPLE_LENGTH 16000000
|
#define MAX_SAMPLE_LENGTH 16000000
|
||||||
#define MAX_SAMPLE_RATE 50000
|
#define MAX_SAMPLE_RATE 50000
|
||||||
|
@ -944,7 +940,7 @@ int _muldivr(long a, long b, long c);
|
||||||
({ unsigned short int __bsx = (x); \
|
({ unsigned short int __bsx = (x); \
|
||||||
((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8)); }))
|
((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8)); }))
|
||||||
#else
|
#else
|
||||||
static __inline unsigned short int
|
static inline unsigned short int
|
||||||
bswap_16 (unsigned short int __bsx)
|
bswap_16 (unsigned short int __bsx)
|
||||||
{
|
{
|
||||||
return ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8));
|
return ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8));
|
||||||
|
@ -959,7 +955,7 @@ bswap_16 (unsigned short int __bsx)
|
||||||
((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) | \
|
((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) | \
|
||||||
(((__bsx) & 0x0000ff00) << 8) | (((__bsx) & 0x000000ff) << 24)); }))
|
(((__bsx) & 0x0000ff00) << 8) | (((__bsx) & 0x000000ff) << 24)); }))
|
||||||
#else
|
#else
|
||||||
static __inline unsigned int
|
static inline unsigned int
|
||||||
bswap_32 (unsigned int __bsx)
|
bswap_32 (unsigned int __bsx)
|
||||||
{
|
{
|
||||||
return ((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) |
|
return ((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) |
|
||||||
|
|
Loading…
Reference in a new issue