These should be __inline__, not inline.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 30 Jul 2013 01:30:32 -0400
changeset 75440508756e7886
parent 7543 a96f309059a1
child 7545 adb619b0af9c
These should be __inline__, not inline.
src/audio/pulseaudio/SDL_pulseaudio.c
     1.1 --- a/src/audio/pulseaudio/SDL_pulseaudio.c	Tue Jul 30 00:17:44 2013 -0400
     1.2 +++ b/src/audio/pulseaudio/SDL_pulseaudio.c	Tue Jul 30 01:30:32 2013 -0400
     1.3 @@ -49,7 +49,7 @@
     1.4  
     1.5  #if (PA_API_VERSION < 12)
     1.6  /** Return non-zero if the passed state is one of the connected states */
     1.7 -static inline int PA_CONTEXT_IS_GOOD(pa_context_state_t x) {
     1.8 +static __inline__ int PA_CONTEXT_IS_GOOD(pa_context_state_t x) {
     1.9      return
    1.10          x == PA_CONTEXT_CONNECTING ||
    1.11          x == PA_CONTEXT_AUTHORIZING ||
    1.12 @@ -57,7 +57,7 @@
    1.13          x == PA_CONTEXT_READY;
    1.14  }
    1.15  /** Return non-zero if the passed state is one of the connected states */
    1.16 -static inline int PA_STREAM_IS_GOOD(pa_stream_state_t x) {
    1.17 +static __inline__ int PA_STREAM_IS_GOOD(pa_stream_state_t x) {
    1.18      return
    1.19          x == PA_STREAM_CREATING ||
    1.20          x == PA_STREAM_READY;