2 Copyright © 2009, The AROS Development Team. All rights reserved.
5 Desc: autoinit library - functions for handling the program_entries symbolset
7 #include <aros/symbolsets.h>
9 DEFINESET(PROGRAM_ENTRIES
);
11 static int __startup_entry_pos
;
13 void __startup_entries_init(void)
15 __startup_entry_pos
= 1;
18 void __startup_entries_next(void)
20 void (*entry_func
)(void);
22 entry_func
= SETNAME(PROGRAM_ENTRIES
)[__startup_entry_pos
];
25 __startup_entry_pos
++;