[libclang] Apparently it's important to build in C89, sigh..

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154525 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index 3dfc732..a81de27 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -667,8 +667,9 @@
     {
       int numArgs = clang_Cursor_getNumArguments(cursor);
       if (numArgs != -1 && numArgs != 0) {
+        int i;
         printf(" [args=");
-        for (int i = 0; i < numArgs; ++i) {
+        for (i = 0; i < numArgs; ++i) {
           CXType T = clang_getCursorType(clang_Cursor_getArgument(cursor, i));
           if (T.kind != CXType_Invalid) {
             CXString S = clang_getTypeKindSpelling(T.kind);