Mesa (master): util: fix unused function warning on non-x86
Brian Paul
brianp at kemper.freedesktop.org
Tue Jul 27 02:50:41 UTC 2010
Module: Mesa
Branch: master
Commit: b17ee335e3398cd1bbd26f5411e7ee6fb6839286
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b17ee335e3398cd1bbd26f5411e7ee6fb6839286
Author: Brian Paul <brianp at vmware.com>
Date: Mon Jul 26 20:48:29 2010 -0600
util: fix unused function warning on non-x86
---
src/gallium/auxiliary/util/u_cpu_detect.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c
index 23d33af..8796434 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -75,7 +75,10 @@
struct util_cpu_caps util_cpu_caps;
+#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
static int has_cpuid(void);
+#endif
+
#if defined(PIPE_ARCH_X86)
More information about the mesa-commit
mailing list