further fix for floating point primitives
[ghc-hetmet.git] / ghc / rts / Printer.h
index 0e3977a..54bf611 100644 (file)
@@ -1,12 +1,14 @@
 /* -----------------------------------------------------------------------------
- * $Id: Printer.h,v 1.5 2000/01/14 14:56:40 simonmar Exp $
  *
- * (c) The GHC Team, 1998-2000
+ * (c) The GHC Team, 1998-2005
  *
  * Prototypes for functions in Printer.c
  *
  * ---------------------------------------------------------------------------*/
 
+#ifndef PRINTER_H
+#define PRINTER_H
+
 extern void       printPtr        ( StgPtr p );
 extern void       printObj        ( StgClosure *obj );
 
@@ -14,8 +16,6 @@ extern void              printObj        ( StgClosure *obj );
 extern void       printClosure    ( StgClosure *obj );
 extern StgStackPtr printStackObj   ( StgStackPtr sp );
 extern void        printStackChunk ( StgStackPtr sp, StgStackPtr spLim );
-extern void        printStack      ( StgStackPtr sp, StgStackPtr spLim, 
-                                    StgUpdateFrame* su );
 extern void        printTSO        ( StgTSO *tso );
 
 void                      info_hdr_type   ( StgClosure *closure, char *res );
@@ -24,5 +24,8 @@ char  *                  info_type_by_ip ( StgInfoTable *ip );
 
 extern void DEBUG_LoadSymbols( char *name );
 
-extern rtsBool lookupGHCName( StgPtr addr, const char **result );
+extern const char *lookupGHCName( void *addr );
 #endif
+
+#endif /* PRINTER_H */
+