From: Michal Krol Date: Fri, 10 Apr 2009 07:00:57 +0000 (+0200) Subject: rtasm: Silence `static function not used' warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05c70f8f5d95708cb4564946effb5c49d09068ec;p=mesa.git rtasm: Silence `static function not used' warning. --- diff --git a/src/gallium/auxiliary/rtasm/rtasm_cpu.c b/src/gallium/auxiliary/rtasm/rtasm_cpu.c index 03bdd472386..2e15751e508 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_cpu.c +++ b/src/gallium/auxiliary/rtasm/rtasm_cpu.c @@ -30,6 +30,7 @@ #include "rtasm_cpu.h" +#if defined(PIPE_ARCH_X86) static boolean rtasm_sse_enabled(void) { static boolean firsttime = 1; @@ -43,6 +44,7 @@ static boolean rtasm_sse_enabled(void) } return enabled; } +#endif int rtasm_cpu_has_sse(void) {