From d1f76b1d852863b6802cb1c2676c698881a6246a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 13 May 2010 16:37:22 -0600 Subject: [PATCH] tgsi: add a dummy function to silence warning --- src/gallium/auxiliary/tgsi/tgsi_ppc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.c b/src/gallium/auxiliary/tgsi/tgsi_ppc.c index ad553c71a57..3521847b619 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ppc.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ppc.c @@ -1366,4 +1366,12 @@ tgsi_emit_ppc(const struct tgsi_token *tokens, return ok; } +#else + +void ppc_dummy_func(void); + +void ppc_dummy_func(void) +{ +} + #endif /* PIPE_ARCH_PPC */ -- 2.30.2