[test-suite] r200207 - Fix signature of main() to use 'int' rather	than 'int32_t'
    Robert Lytton 
    robert at xmos.com
       
    Mon Jan 27 02:39:35 PST 2014
    
    
  
Author: rlytton
Date: Mon Jan 27 04:39:34 2014
New Revision: 200207
URL: http://llvm.org/viewvc/llvm-project?rev=200207&view=rev
Log:
Fix signature of main() to use 'int' rather than 'int32_t'
For the XCore target's Newlib, the definition of 'int32_t' is
  "typedef signed long int32_t;"
'signed long' is not acceptable in main()'s signature.
Modified:
    test-suite/trunk/MultiSource/Applications/ALAC/decode/main.cpp
    test-suite/trunk/MultiSource/Applications/ALAC/encode/main.cpp
Modified: test-suite/trunk/MultiSource/Applications/ALAC/decode/main.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/ALAC/decode/main.cpp?rev=200207&r1=200206&r2=200207&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/ALAC/decode/main.cpp (original)
+++ test-suite/trunk/MultiSource/Applications/ALAC/decode/main.cpp Mon Jan 27 04:39:34 2014
@@ -69,7 +69,7 @@ enum
   };
 
 
-int32_t main (int32_t argc, char * argv[]) 
+int main (int argc, char * argv[])
 {
   char * inputFileName = argv[1];
   char * outputFileName = argv[2];
Modified: test-suite/trunk/MultiSource/Applications/ALAC/encode/main.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/ALAC/encode/main.cpp?rev=200207&r1=200206&r2=200207&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/ALAC/encode/main.cpp (original)
+++ test-suite/trunk/MultiSource/Applications/ALAC/encode/main.cpp Mon Jan 27 04:39:34 2014
@@ -68,8 +68,7 @@ enum
     kTestFormatFlag_32BitSourceData    = 4
   };
 
-
-int32_t main (int32_t argc, char * argv[]) 
+int main (int argc, char * argv[])
 {
   char * inputFileName = argv[1];
   char * outputFileName = argv[2];
    
    
More information about the llvm-commits
mailing list