summaryrefslogtreecommitdiff
path: root/rts/Printer.c
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-08-06 11:55:14 +0100
committerSergei Trofimovich <siarheit@google.com>2016-08-06 12:02:46 +0100
commitaffcec7d5b0426be332022d546486bef31248b72 (patch)
treee5a61454c3bab616f48edd6c825f2e3b8f7389a7 /rts/Printer.c
parent9aa5d87a28fbc328660829ec2e4841ea1a7a1440 (diff)
downloadhaskell-affcec7d5b0426be332022d546486bef31248b72.tar.gz
rts/Printer.h: fix constness of argument declaration
Noticed on today's build failure: rts/Printer.c:659:13: error: error: conflicting types for 'DEBUG_LoadSymbols' extern void DEBUG_LoadSymbols( const char *name ) ^~~~~~~~~~~~~~~~~ In file included from rts/Printer.c:17:0: error: rts/Printer.h:29:13: error: note: previous declaration of 'DEBUG_LoadSymbols' was here extern void DEBUG_LoadSymbols( char *name ); ^~~~~~~~~~~~~~~~~ Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts/Printer.c')
-rw-r--r--rts/Printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Printer.c b/rts/Printer.c
index 678922500c..95dd8548f2 100644
--- a/rts/Printer.c
+++ b/rts/Printer.c
@@ -714,7 +714,7 @@ extern void DEBUG_LoadSymbols( const char *name )
#else /* USING_LIBBFD */
-extern void DEBUG_LoadSymbols( char *name STG_UNUSED )
+extern void DEBUG_LoadSymbols( const char *name STG_UNUSED )
{
/* nothing, yet */
}