[llvm-commits] [PATCH, test-suite, AltiVec][2/4] Fix pre-ANSI C

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Fri Oct 12 05:26:03 PDT 2012


when building alti.stepfft.c, clang errors out with "conflicting types
for ..." several functions, because they have been used without prototypes
visible  (in fact, that source file partially still uses K&R style function
definitions).  In other files (notably alti.expandfft.c, which contains
very similar code), prototypes have already been provided.

Therefore, the patch below fixes the compilation failure by providing
prototypes for all functions in alti.stepfft.c as well.

OK to commit?


(See attached file: diff-testsuite-altivec-proto)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-testsuite-altivec-proto
Type: application/octet-stream
Size: 1504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121012/e8205c12/attachment.obj>

More information about the llvm-commits mailing list