From affcec7d5b0426be332022d546486bef31248b72 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 6 Aug 2016 11:55:14 +0100 Subject: 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 --- rts/Printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rts/Printer.c') 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 */ } -- cgit v1.2.1