tgsi: add a dummy function to silence warning
authorBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 22:37:22 +0000 (16:37 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 14 May 2010 19:23:41 +0000 (13:23 -0600)
src/gallium/auxiliary/tgsi/tgsi_ppc.c

index ad553c7..3521847 100644 (file)
@@ -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 */