diff options
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index c2358e1750..631cf58a77 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -75,12 +75,12 @@ | |||
75 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ | 75 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ |
76 | 76 | ||
77 | /* increase this every time the api struct changes */ | 77 | /* increase this every time the api struct changes */ |
78 | #define CODEC_API_VERSION 31 | 78 | #define CODEC_API_VERSION 32 |
79 | 79 | ||
80 | /* update this to latest version if a change to the api struct breaks | 80 | /* update this to latest version if a change to the api struct breaks |
81 | backwards compatibility (and please take the opportunity to sort in any | 81 | backwards compatibility (and please take the opportunity to sort in any |
82 | new function which are "waiting" at the end of the function table) */ | 82 | new function which are "waiting" at the end of the function table) */ |
83 | #define CODEC_MIN_API_VERSION 30 | 83 | #define CODEC_MIN_API_VERSION 32 |
84 | 84 | ||
85 | /* codec return codes */ | 85 | /* codec return codes */ |
86 | enum codec_status { | 86 | enum codec_status { |
@@ -153,6 +153,9 @@ struct codec_api { | |||
153 | void (*configure)(int setting, intptr_t value); | 153 | void (*configure)(int setting, intptr_t value); |
154 | 154 | ||
155 | /* kernel/ system */ | 155 | /* kernel/ system */ |
156 | #ifdef CPU_ARM | ||
157 | void (*__div0)(void); | ||
158 | #endif | ||
156 | void (*sleep)(int ticks); | 159 | void (*sleep)(int ticks); |
157 | void (*yield)(void); | 160 | void (*yield)(void); |
158 | 161 | ||
@@ -233,9 +236,6 @@ struct codec_api { | |||
233 | 236 | ||
234 | /* new stuff at the end, sort into place next time | 237 | /* new stuff at the end, sort into place next time |
235 | the API gets incompatible */ | 238 | the API gets incompatible */ |
236 | #ifdef CPU_ARM | ||
237 | void (*__div0)(void); | ||
238 | #endif | ||
239 | }; | 239 | }; |
240 | 240 | ||
241 | /* codec header */ | 241 | /* codec header */ |