Removed the vi format comments from the source

Vim users can use the [editorconfig plugin](https://github.com/editorconfig/editorconfig-vim) to automatically set tab spacing for the SDL coding style.

Fixes https://github.com/libsdl-org/SDL/issues/6903
This commit is contained in:
Sam Lantinga
2022-12-26 11:17:23 -08:00
parent 7c67213cef
commit 63724c113b
909 changed files with 1 additions and 1808 deletions

View File

@@ -308,5 +308,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -294,5 +294,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -801,5 +801,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -176,5 +176,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -144,5 +144,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -715,5 +715,3 @@ int main(int argc, char *argv[])
RunFIFOTest(SDL_TRUE);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -166,5 +166,3 @@ int main(int argc, char **argv)
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -199,5 +199,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -101,5 +101,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -117,5 +117,3 @@ int main(int argc, char *argv[])
quit(result);
return result;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1046,5 +1046,3 @@ SDLTest_TestSuiteReference audioTestSuite = {
audioTests,
_audioTearDown
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -329,5 +329,3 @@ SDLTest_TestSuiteReference clipboardTestSuite = {
clipboardTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -194,5 +194,3 @@ SDLTest_TestSuiteReference eventsTestSuite = {
eventsTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -155,5 +155,3 @@ SDLTest_TestSuiteReference guidTestSuite = {
guidTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -260,5 +260,3 @@ SDLTest_TestSuiteReference hintsTestSuite = {
hintsTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -88,5 +88,3 @@ SDLTest_TestSuiteReference joystickTestSuite = {
joystickTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -700,5 +700,3 @@ SDLTest_TestSuiteReference keyboardTestSuite = {
keyboardTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -174,5 +174,3 @@ SDLTest_TestSuiteReference mainTestSuite = {
mainTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -3355,5 +3355,3 @@ SDLTest_TestSuiteReference mathTestSuite = {
mathTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -655,5 +655,3 @@ SDLTest_TestSuiteReference mouseTestSuite = {
mouseTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -415,5 +415,3 @@ SDLTest_TestSuiteReference pixelsTestSuite = {
pixelsTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -600,5 +600,3 @@ SDLTest_TestSuiteReference platformTestSuite = {
platformTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1852,5 +1852,3 @@ SDLTest_TestSuiteReference rectTestSuite = {
rectTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1161,5 +1161,3 @@ SDLTest_TestSuiteReference renderTestSuite = {
renderTests,
CleanupDestroyRenderer
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -650,5 +650,3 @@ SDLTest_TestSuiteReference rwopsTestSuite = {
rwopsTests,
RWopsTearDown
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1296,5 +1296,3 @@ SDLTest_TestSuiteReference sdltestTestSuite = {
sdltestTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -595,5 +595,3 @@ SDLTest_TestSuiteReference stdlibTestSuite = {
stdlibTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -818,5 +818,3 @@ SDLTest_TestSuiteReference surfaceTestSuite = {
_surfaceTearDown
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -53,5 +53,3 @@ SDLTest_TestSuiteReference syswmTestSuite = {
syswmTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -195,5 +195,3 @@ SDLTest_TestSuiteReference timerTestSuite = {
timerTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1924,5 +1924,3 @@ SDLTest_TestSuiteReference videoTestSuite = {
videoTests,
NULL
};
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -36,5 +36,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -320,5 +320,3 @@ int main(int argc, char *argv[])
/* keep the compiler happy ... */
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -91,5 +91,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -308,5 +308,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -132,5 +132,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -94,5 +94,3 @@ int main(int argc, char *argv[])
/* keep the compiler happy ... */
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -79,5 +79,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1040,5 +1040,3 @@ int main(int argc, char *argv[])
{
return run_test() ? 0 : 1;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -356,5 +356,3 @@ int main(int argc, char *argv[])
cleanup();
return 0; /* all ok */
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -57,5 +57,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -961,5 +961,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -262,5 +262,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -428,5 +428,3 @@ int main(int argc, char *argv[])
}
#endif /* HAVE_OPENGL */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -339,5 +339,3 @@ int main(int argc, char *argv[])
}
#endif /* HAVE_OPENGLES */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -899,5 +899,3 @@ int main(int argc, char *argv[])
}
#endif /* HAVE_OPENGLES2 */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -788,5 +788,3 @@ int main(int argc, char *argv[])
}
#endif /* HAVE_OPENGLES2 */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -363,5 +363,3 @@ HapticPrintSupported(SDL_Haptic *ptr)
SDL_Log(" status\n");
}
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -139,5 +139,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -133,5 +133,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -95,5 +95,3 @@ int main(int argc, char *argv[])
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Total errors: %d\n", errors);
return errors ? errors + 1 : 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -790,5 +790,3 @@ int main(int argc, char *argv[])
SDLTest_CommonQuit(state);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -371,5 +371,3 @@ int main(int argc, char *argv[])
}
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -319,5 +319,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -35,5 +35,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -76,5 +76,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return retval;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -63,5 +63,3 @@ int main(int argc, char **argv)
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -127,5 +127,3 @@ int main(int argc, char *argv[])
return 0; /* Never reached */
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -210,5 +210,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -295,5 +295,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -199,5 +199,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -198,5 +198,3 @@ int main(int argc, char *argv[])
return 0; /* to prevent compiler warning */
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -86,5 +86,3 @@ DestroyWindowNative(void *window)
}
#endif
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -53,5 +53,3 @@ DestroyWindowX11(void *window)
}
#endif
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -164,5 +164,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -511,5 +511,3 @@ int main(int argc, char **argv)
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -461,5 +461,3 @@ int main(int argc, char *argv[])
return status;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -75,5 +75,3 @@ int main(int argc, char *argv[])
}
/* end of testpower.c ... */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -99,5 +99,3 @@ int main(int argc, char *argv[])
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -130,5 +130,3 @@ int main(int argc, char *argv[])
SDLTest_CommonQuit(state);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -170,5 +170,3 @@ int main(int argc, char *argv[])
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -284,5 +284,3 @@ int main(int argc, char *argv[])
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -118,5 +118,3 @@ int main(int argc, char **argv)
} /* main */
/* end of testresample.c ... */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -135,5 +135,3 @@ int main(int argc, char **argv)
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -161,5 +161,3 @@ int main(int argc, char *argv[])
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -282,5 +282,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -118,5 +118,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -521,5 +521,3 @@ int main(int argc, char *argv[])
}
#endif /* HAVE_OPENGL */
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -206,5 +206,3 @@ int main(int argc, char **argv)
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -585,5 +585,3 @@ int main(int argc, char *argv[])
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -142,5 +142,3 @@ int main(int argc, char *argv[])
return 0; /* to prevent compiler warning */
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -193,5 +193,3 @@ int main(int argc, char **argv)
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -200,5 +200,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -137,5 +137,3 @@ int main(int argc, char *argv[])
SDL_Quit(); /* Never reached */
return 0; /* Never reached */
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -136,5 +136,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -41,5 +41,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -149,5 +149,3 @@ LoadTexture(SDL_Renderer *renderer, const char *file, SDL_bool transparent,
}
return texture;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -40,5 +40,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -226,5 +226,3 @@ int main(int argc, char *argv[])
quit(0);
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -1154,5 +1154,3 @@ int main(int argc, char **argv)
}
#endif
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -293,5 +293,3 @@ int main(int argc, char *argv[])
/* keep the compiler happy ... */
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -444,5 +444,3 @@ int main(int argc, char **argv)
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -294,5 +294,3 @@ int CalculateYUVPitch(Uint32 format, int width)
return 0;
}
}
/* vi: set ts=4 sw=4 expandtab: */

View File

@@ -109,5 +109,3 @@ int main(int argc, char *argv[])
SDL_Quit();
return 0;
}
/* vi: set ts=4 sw=4 expandtab: */