X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRtsExternal.h;h=d96762020e9607130dc85d063cdc6dffb7da7d97;hb=0a8f685b4c66093df7732c6b92a631cf4c84c05d;hp=58db11c42ffe95f41c02725fe5c2c41f6cda2025;hpb=e913091815156cbb54fa0d2cc786ccad24ca1c11;p=ghc-hetmet.git diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index 58db11c..d967620 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -77,18 +77,14 @@ extern StgInt *signal_handlers; #endif extern void setIOManagerPipe (int fd); -extern void* allocateExec(int len); +extern void* allocateExec(unsigned int len); /* ----------------------------------------------------------------------------- Storage manager stuff exported -------------------------------------------------------------------------- */ -/* Prototype for an evacuate-like function */ -typedef void (*evac_fn)(StgClosure **); - extern void performGC(void); extern void performMajorGC(void); -extern void performGCWithRoots(void (*get_roots)(evac_fn)); extern HsInt64 getAllocations( void ); extern void revertCAFs( void ); extern void dirty_MUT_VAR(StgRegTable *reg, StgClosure *p);