Revision
4410
Author
lsansonetti@apple.com
Date
2010-08-06 13:13:44 -0700 (Fri, 06 Aug 2010)

Log Message

don't use c99 features in headers

Modified Paths

Diff

Modified: MacRuby/trunk/objc.h (4409 => 4410)


--- MacRuby/trunk/objc.h	2010-08-06 00:40:08 UTC (rev 4409)
+++ MacRuby/trunk/objc.h	2010-08-06 20:13:44 UTC (rev 4410)
@@ -25,7 +25,8 @@
 	    }
 	}
 	else {
-	    for (unsigned int i = 0; i < bs_method->args_count; i++) {
+	    unsigned int i;
+	    for (i = 0; i < bs_method->args_count; i++) {
 		if (bs_method->args[i].index == arg) {
 		    return bs_method->args[i].type;
 		}