Skip to content

Commit

Permalink
FIX: Minor formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
earl committed Feb 26, 2012
1 parent 4c4c446 commit 6669e26
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions red-system/runtime/start.reds
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,20 @@ system: declare struct! [ ;-- trimmed down temporary system definition
#import [LIBC-file cdecl [
libc-start: "__libc_start_main" [
main [function! []]
argc [integer!]
argc [integer!]
argv [pointer! [integer!]]
init [function! []]
finish [function! []]
loader-finish [function! []]
stack-end [pointer! [integer!]]
]
; _init: "__libc_csu_init" []
; _finish: "__libc_csu_fini" []
]]

system/stack/frame: as pointer! [integer!] 0
***__argc: pop
***__argv: system/stack/top
system/stack/top: as pointer! [integer!] (FFFFFFF0h and as integer! ***__argv)

libc-start :***-start ***__argc ***__argv null null null ***__argv
]
]
]

0 comments on commit 6669e26

Please sign in to comment.