diff options
author | Sergei Trofimovich <siarheit@google.com> | 2016-08-06 11:55:14 +0100 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2016-08-06 12:02:46 +0100 |
commit | affcec7d5b0426be332022d546486bef31248b72 (patch) | |
tree | e5a61454c3bab616f48edd6c825f2e3b8f7389a7 /rts/Printer.h | |
parent | 9aa5d87a28fbc328660829ec2e4841ea1a7a1440 (diff) | |
download | haskell-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.h')
-rw-r--r-- | rts/Printer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Printer.h b/rts/Printer.h index 4db76057be..e72fdb068b 100644 --- a/rts/Printer.h +++ b/rts/Printer.h @@ -26,7 +26,7 @@ extern void printClosure ( const StgClosure *obj ); extern void printStackChunk ( StgPtr sp, StgPtr spLim ); extern void printTSO ( StgTSO *tso ); -extern void DEBUG_LoadSymbols( char *name ); +extern void DEBUG_LoadSymbols( const char *name ); extern const char *lookupGHCName( void *addr ); |