projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebc66a
)
[project @ 2005-03-30 11:08:47 by simonmar]
author
simonmar
<unknown>
Wed, 30 Mar 2005 11:08:47 +0000
(11:08 +0000)
committer
simonmar
<unknown>
Wed, 30 Mar 2005 11:08:47 +0000
(11:08 +0000)
statsPrintf: add a gcc attribute to get better type errors
ghc/rts/Stats.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Stats.c
b/ghc/rts/Stats.c
index
1fcb94d
..
9176607
100644
(file)
--- a/
ghc/rts/Stats.c
+++ b/
ghc/rts/Stats.c
@@
-121,7
+121,9
@@
static TICK_TYPE *GC_coll_times;
static void getTimes(void);
static nat pageFaults(void);
-static void statsPrintf( char *s, ... );
+static void statsPrintf( char *s, ... )
+ GNUC3_ATTRIBUTE(format (printf, 1, 2));
+
static void statsFlush( void );
static void statsClose( void );