[svn:parrot] r45808 - trunk/t/src

petdance at svn.parrot.org petdance at svn.parrot.org
Mon Apr 19 15:29:28 UTC 2010


Author: petdance
Date: Mon Apr 19 15:29:27 2010
New Revision: 45808
URL: https://trac.parrot.org/parrot/changeset/45808

Log:
properly consted argv

Modified:
   trunk/t/src/basic.t

Modified: trunk/t/src/basic.t
==============================================================================
--- trunk/t/src/basic.t	Mon Apr 19 14:42:42 2010	(r45807)
+++ trunk/t/src/basic.t	Mon Apr 19 15:29:27 2010	(r45808)
@@ -27,7 +27,7 @@
     #include <stdlib.h>
 
     int
-    main(int argc, char* argv[])
+    main(int argc, const char* argv[])
     {
         printf("Hello, World!\n");
         exit(0);
@@ -41,7 +41,7 @@
     #include <parrot/exceptions.h>
 
     int
-    main(int argc, char* argv[])
+    main(int argc, const char* argv[])
     {
          exit_fatal(0, "Blow'd Up(tm)"); /* ' */
     }
@@ -59,7 +59,7 @@
 static opcode_t *the_test(Parrot_Interp, opcode_t *, opcode_t *);
 
 int
-main(int argc, char* argv[])
+main(int argc, const char* argv[])
 {
     Interp *interp;
 


More information about the parrot-commits mailing list