dsp: add DSP_INIT_STUB

generates a stub function when the specific architecture is not enabled,
exposing a symbol in the module, avoiding a compiler warning

Change-Id: Ia9336e57466a9b5241b85c1c95838e91c9283147
This commit is contained in:
James Zern
2015-04-02 23:19:37 -07:00
parent 03e76e962e
commit b44eda3f60
36 changed files with 45 additions and 74 deletions

View File

@ -667,7 +667,6 @@ WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPS32(void) {
#else // !WEBP_USE_MIPS32
extern void VP8EncDspInitMIPS32(void);
WEBP_TSAN_IGNORE_FUNCTION void VP8EncDspInitMIPS32(void) {}
WEBP_DSP_INIT_STUB(VP8EncDspInitMIPS32)
#endif // WEBP_USE_MIPS32