# HG changeset patch # User mru # Date 1251564955 0 # Node ID 0b76ca7e07b5dc3e1d4f142ce16ff19c10ad6efa # Parent 8b9fc0c8f1cc3a81bc23d4906d40ffedd0494e27 One declaration of mm_flags is enough diff -r 8b9fc0c8f1cc -r 0b76ca7e07b5 dsputil.h --- a/dsputil.h Sat Aug 29 16:55:50 2009 +0000 +++ b/dsputil.h Sat Aug 29 16:55:55 2009 +0000 @@ -598,6 +598,7 @@ /* should be defined by architectures supporting one or more MultiMedia extension */ int mm_support(void); +extern int mm_flags; void dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx); void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx); @@ -616,8 +617,6 @@ #undef emms_c -extern int mm_flags; - static inline void emms(void) { __asm__ volatile ("emms;":::"memory"); @@ -632,16 +631,12 @@ #elif ARCH_ARM -extern int mm_flags; - #if HAVE_NEON # define STRIDE_ALIGN 16 #endif #elif ARCH_PPC -extern int mm_flags; - #define STRIDE_ALIGN 16 #elif HAVE_MMI