summaryrefslogtreecommitdiff
path: root/include/SDL_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/SDL_main.h')
-rw-r--r--include/SDL_main.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/SDL_main.h b/include/SDL_main.h
index 8a7859fb34..59bd201677 100644
--- a/include/SDL_main.h
+++ b/include/SDL_main.h
@@ -26,7 +26,7 @@
/**
* \file SDL_main.h
- *
+ *
* Redefine main() on some platforms so that it is called by SDL.
*/
@@ -37,7 +37,7 @@
#endif
#ifdef __cplusplus
-#define C_LINKAGE "C"
+#define C_LINKAGE "C"
#else
#define C_LINKAGE
#endif /* __cplusplus */
@@ -58,7 +58,7 @@
*/
#ifdef SDL_MAIN_NEEDED
-#define main SDL_main
+#define main SDL_main
#endif
/**
@@ -69,9 +69,7 @@ extern C_LINKAGE int SDL_main(int argc, char *argv[]);
#include "begin_code.h"
#ifdef __cplusplus
-/* *INDENT-OFF* */
extern "C" {
-/* *INDENT-ON* */
#endif
#ifdef __WIN32__
@@ -87,9 +85,7 @@ extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
#ifdef __cplusplus
-/* *INDENT-OFF* */
}
-/* *INDENT-ON* */
#endif
#include "close_code.h"