summaryrefslogtreecommitdiff
path: root/Modules/CheckVariableExists.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckVariableExists.c')
-rw-r--r--Modules/CheckVariableExists.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/Modules/CheckVariableExists.c b/Modules/CheckVariableExists.c
index 752f6e486..6e948771b 100644
--- a/Modules/CheckVariableExists.c
+++ b/Modules/CheckVariableExists.c
@@ -3,18 +3,22 @@
extern int CHECK_VARIABLE_EXISTS;
#ifdef __CLASSIC_C__
-int main(){
+int main()
+{
int ac;
- char*av[];
+ char* av[];
#else
-int main(int ac, char*av[]){
+int main(int ac, char* av[])
+{
#endif
- if(ac > 1000){return *av[0];}
+ if (ac > 1000) {
+ return *av[0];
+ }
return CHECK_VARIABLE_EXISTS;
}
-#else /* CHECK_VARIABLE_EXISTS */
+#else /* CHECK_VARIABLE_EXISTS */
-# error "CHECK_VARIABLE_EXISTS has to specify the variable"
+#error "CHECK_VARIABLE_EXISTS has to specify the variable"
#endif /* CHECK_VARIABLE_EXISTS */