X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FHpc.c;fp=rts%2FHpc.c;h=cf75a05847a5cb8ec7708224a8fb17d49a815827;hb=a2a67cd520b9841114d69a87a423dabcb3b4368e;hp=a6e854ba830f0ec02c6759eb93abe5b1ebd4556d;hpb=5d379cbe65e406d5c3a848fe7fcd090cafbfeb78;p=ghc-hetmet.git diff --git a/rts/Hpc.c b/rts/Hpc.c index a6e854b..cf75a05 100644 --- a/rts/Hpc.c +++ b/rts/Hpc.c @@ -2,16 +2,16 @@ * (c)2006 Galois Connections, Inc. */ +#include "PosixSource.h" +#include "Rts.h" + +#include "Trace.h" + #include #include -#include #include #include -#include "Rts.h" -#include "Hpc.h" -#include "Trace.h" - #ifdef HAVE_SYS_TYPES_H #include #endif @@ -49,7 +49,8 @@ int totalTixes = 0; // total number of tix boxes. static char *tixFilename; -static void failure(char *msg) { +static void GNU_ATTRIBUTE(__noreturn__) +failure(char *msg) { debugTrace(DEBUG_hpc,"hpc failure: %s\n",msg); fprintf(stderr,"Hpc failure: %s\n",msg); if (tixFilename) {