code. This prevents a compiler warning on Sparc that causes the tests to fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7125
91177308-0d34-0410-b5e6-
96231b3b80d8
// Print Malloc prototype if needed
if (needsMalloc){
Out << "\n/* Malloc to make sun happy */\n";
- Out << "extern void * malloc(size_t);\n\n";
+ Out << "extern void * malloc();\n\n";
}
// Output the global variable declarations
// Print Malloc prototype if needed
if (needsMalloc){
Out << "\n/* Malloc to make sun happy */\n";
- Out << "extern void * malloc(size_t);\n\n";
+ Out << "extern void * malloc();\n\n";
}
// Output the global variable declarations