Find the base of the stack.
******************************************************************/
-ptr_t GC_get_main_stack_base()
+ptr_t GC_get_main_stack_base(void)
{
struct Process *proc = (struct Process*)SysBase->ThisTask;
Register data segments.
******************************************************************/
- void GC_register_data_segments()
+ void GC_register_data_segments(void)
{
struct Process *proc;
struct CommandLineInterface *cli;
unsigned long JTOffset;
} *CodeZeroPtr, **CodeZeroHandle;
-void* GC_MacGetDataStart()
+void* GC_MacGetDataStart(void)
{
CodeZeroHandle code0 = (CodeZeroHandle)GetResource('CODE', 0);
if (code0) {
extern word GC_fo_entries;
-static void perform_final_collection()
+static void perform_final_collection(void)
{
unsigned i;
word last_fo_entries = 0;
}
-void GC_MacFreeTemporaryMemory()
+void GC_MacFreeTemporaryMemory(void)
{
# if defined(SHARED_LIBRARY_BUILD)
/* if possible, collect all memory, and invoke all finalizers. */
#if __option(far_data)
- void* GC_MacGetDataEnd()
+ void* GC_MacGetDataEnd(void)
{
CodeZeroHandle code0 = (CodeZeroHandle)GetResource('CODE', 0);
if (code0) {
typedef ULONG ULONG_ADDR;
#endif
-static HANDLE GetSymHandle()
+static HANDLE GetSymHandle(void)
{
static HANDLE symHandle = NULL;
if (!symHandle) {