summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-31 15:02:22 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-31 15:02:22 (GMT)
commita3e1b1ce7ed7e7ffac23015fc2fde56511b30681 (patch)
tree7b725552a9a4ded93849ca2faab1b257f7761790 /main.c
parent3e7566d8fb5138bb9cd647e5fdefc54fc9803509 (diff)
* Merge YARV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
-rw-r--r--main.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/main.c b/main.c
index e815c9b..75227e0 100644
--- a/main.c
+++ b/main.c
@@ -19,7 +19,11 @@
/* to link startup code with ObjC support */
#if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__)
-static void objcdummyfunction( void ) { objc_msgSend(); }
+static void
+objcdummyfunction(void)
+{
+ objc_msgSend();
+}
#endif
int
@@ -37,10 +41,9 @@ main(int argc, char **argv, char **envp)
#endif
{
- RUBY_INIT_STACK
- ruby_init();
- ruby_options(argc, argv);
- ruby_run();
+ RUBY_INIT_STACK ruby_init();
+ ruby_options(argc, argv);
+ ruby_run();
}
return 0;
}