summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFunctionExists.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckFunctionExists.c')
-rw-r--r--Modules/CheckFunctionExists.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c
index 224e340..13435e0 100644
--- a/Modules/CheckFunctionExists.c
+++ b/Modules/CheckFunctionExists.c
@@ -1,19 +1,19 @@
#ifdef CHECK_FUNCTION_EXISTS
-#ifdef __cplusplus
+# ifdef __cplusplus
extern "C"
-#endif
+# endif
char
CHECK_FUNCTION_EXISTS(void);
-#ifdef __CLASSIC_C__
+# ifdef __CLASSIC_C__
int main()
{
int ac;
char* av[];
-#else
+# else
int main(int ac, char* av[])
{
-#endif
+# endif
CHECK_FUNCTION_EXISTS();
if (ac > 1000) {
return *av[0];
@@ -23,6 +23,6 @@ int main(int ac, char* av[])
#else /* CHECK_FUNCTION_EXISTS */
-#error "CHECK_FUNCTION_EXISTS has to specify the function"
+# error "CHECK_FUNCTION_EXISTS has to specify the function"
#endif /* CHECK_FUNCTION_EXISTS */